AdeptDataTableTheme constructor

AdeptDataTableTheme({
  1. Color borderColor = const Color(0xFFFFFFFF),
  2. Color? headerBgColor,
  3. double borderWidth = 1,
  4. TextStyle? headerTextStyle,
  5. TextStyle? cellTextStyle,
  6. AdeptDataTableCellTheme? cellsTheme,
})

Constructor allows you to define styling and value properties.

Implementation

AdeptDataTableTheme(
    {this.borderColor = const Color(0xFFFFFFFF),
    Color? headerBgColor,
    this.borderWidth = 1,
    TextStyle? headerTextStyle,
    TextStyle? cellTextStyle,
    this.cellsTheme})
    : headerBgColor = headerBgColor ?? Colors.blue.shade50,
      headerTextStyle = headerTextStyle ??
          stylesWorkSans(
              fontSize: 10.5,
              color: const Color(0xFF1D4380),
              fontWeight: FontWeight.w600);