MayLau-CbL/flutter_horizontal_data_table

Is there a way to change width of vertical line that separates first column?

ElixirMike opened this issue · 1 comments

Right now, the line showing the first column is frozen/sticky only appears when you scroll horizontally. Two questions.

  1. Is there a way to always have that line appear?
  2. Is there a way to customize (size and/or color) of this line?

image

probably not the best workaround but by putting a BoxDecoration object on the container's foregroundDecoration I managed to create a line next to it that won't disappear and is customizable.

Container(
width: 100,
height: 52,
padding: const EdgeInsets.fromLTRB(5, 0, 0, 0),
alignment: Alignment.center,
foregroundDecoration: BoxDecoration(
border: Border(
right: BorderSide(
color: Colors.grey[200]!,
width: 1.2,
),
),
),