DaviThemeData class
The Davi theme. Defines the configuration of the overall visual DaviThemeData for a widget subtree within the app.
Constructors
- DaviThemeData({bool columnDividerFillHeight = DaviThemeDataDefaults.columnDividerFillHeight, double columnDividerThickness = DaviThemeDataDefaults.columnDividerThickness, Color? columnDividerColor = DaviThemeDataDefaults.columnDividerColor, BoxDecoration? decoration = DaviThemeDataDefaults.tableDecoration, Color topCornerBorderColor = DaviThemeDataDefaults.topCornerBorderColor, Color topCornerColor = DaviThemeDataDefaults.topCornerColor, Color bottomCornerBorderColor = DaviThemeDataDefaults.bottomCornerBorderColor, Color bottomCornerColor = DaviThemeDataDefaults.bottomCornerColor, RowThemeData row = const RowThemeData(), CellThemeData cell = const CellThemeData(), HeaderThemeData header = const HeaderThemeData(), HeaderCellThemeData headerCell = const HeaderCellThemeData(), TableScrollbarThemeData scrollbar = const TableScrollbarThemeData()})
-
Builds a theme data.
const
Properties
- bottomCornerBorderColor → Color
-
final
- bottomCornerColor → Color
-
final
- cell → CellThemeData
-
final
- columnDividerColor → Color?
-
final
- columnDividerFillHeight → bool
-
final
- columnDividerThickness → double
-
final
- decoration → BoxDecoration?
-
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- header → HeaderThemeData
-
final
- headerCell → HeaderCellThemeData
-
final
- row → RowThemeData
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- scrollbar → TableScrollbarThemeData
-
final
- topCornerBorderColor → Color
-
final
- topCornerColor → Color
-
final
Methods
-
copyWith(
{bool? columnDividerFillHeight, double? columnDividerThickness, Color? columnDividerColor, BoxDecoration? decoration, CellThemeData? cell, HeaderThemeData? header, HeaderCellThemeData? headerCell, RowThemeData? row, TableScrollbarThemeData? scrollbar, Color? topCornerBorderColor, Color? topCornerColor, Color? bottomCornerBorderColor, Color? bottomCornerColor}) → DaviThemeData - Creates a copy of this theme but with the given fields replaced with the new values.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override