InfoTable constructor

const InfoTable({
  1. Key? key,
  2. required Map<String, String> data,
  3. TextStyle? headerTextStyle,
  4. TextStyle? cellTextStyle,
  5. double? headerFlex,
  6. Map<String, TextStyle> cellTextStyles = const {},
  7. TextAlign cellTextAlign = TextAlign.start,
  8. bool separatorEnabled = true,
  9. EdgeInsets cellPadding = const EdgeInsets.fromLTRB(16, 8, 16, 8),
  10. Color? evenColor,
  11. double separatorSpacing = 4,
})

Implementation

const InfoTable({
  Key? key,
  required this.data,
  this.headerTextStyle,
  this.cellTextStyle,
  this.headerFlex,
  this.cellTextStyles = const {},
  this.cellTextAlign = TextAlign.start,
  this.separatorEnabled = true,
  this.cellPadding = const EdgeInsets.fromLTRB(16, 8, 16, 8),
  this.evenColor,
  this.separatorSpacing = 4,
}) : super(key: key);