SFTable constructor
const
SFTable({
- Key? key,
- required List<
String> headers, - required List<
List> data, - bool ellipsis = false,
- TextStyle textStyle = const TextStyle(),
- Color headersTextColor = SFColor.grayScale40,
- Color firstColumnTextColor = SFColor.grayScale80,
- Color otherDataTextColor = SFColor.grayScale60,
- double? dividerThickness,
- Color dividerColor = SFColor.grayScale20,
- EdgeInsetsGeometry? padding,
- double? width,
- EdgeInsetsGeometry? tablePadding,
- EdgeInsetsGeometry? tableMargin,
Implementation
const SFTable(
{super.key,
required this.headers,
required this.data,
this.ellipsis =false,
this.textStyle = const TextStyle(),
this.headersTextColor = SFColor.grayScale40,
this.firstColumnTextColor = SFColor.grayScale80,
this.otherDataTextColor = SFColor.grayScale60,
this.dividerThickness,
this.dividerColor = SFColor.grayScale20,
this.padding,
this.width,
this.tablePadding,
this.tableMargin
});