SFTable constructor

const SFTable({
  1. Key? key,
  2. required List<String> headers,
  3. required List<List> data,
  4. bool ellipsis = false,
  5. TextStyle textStyle = const TextStyle(),
  6. Color headersTextColor = SFColor.grayScale40,
  7. Color firstColumnTextColor = SFColor.grayScale80,
  8. Color otherDataTextColor = SFColor.grayScale60,
  9. double? dividerThickness,
  10. Color dividerColor = SFColor.grayScale20,
  11. EdgeInsetsGeometry? padding,
  12. double? width,
  13. EdgeInsetsGeometry? tablePadding,
  14. 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
    });