FlexCellBuilder constructor

const FlexCellBuilder({
  1. Alignment alignment = Alignment.centerLeft,
  2. Color? color,
  3. int maxLines = 1,
  4. EdgeInsetsGeometry padding = const EdgeInsets.symmetric(horizontal: 8.0),
  5. Color? selectedColor,
})

Defines the alignment of the content within the cell, the maximum number of lines allowed for the Text within the cell, the background color of the cell and the cell's internal padding.

Implementation

const FlexCellBuilder({
  this.alignment = Alignment.centerLeft,
  this.color,
  this.maxLines = 1,
  this.padding = const EdgeInsets.symmetric(horizontal: 8.0),
  this.selectedColor,
});