InfoTable constructor
const
InfoTable({
- Key? key,
- required Map<
String, String> data, - TextStyle? headerTextStyle,
- TextStyle? cellTextStyle,
- double? headerFlex,
- Map<
String, TextStyle> cellTextStyles = const {}, - TextAlign cellTextAlign = TextAlign.start,
- bool separatorEnabled = true,
- EdgeInsets cellPadding = const EdgeInsets.fromLTRB(16, 8, 16, 8),
- Color? evenColor,
- 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);