DataGridThemeData class
- Inheritance
-
- Object
- DataTableThemeData
- DataGridThemeData
Constructors
-
DataGridThemeData({Decoration? decoration, MaterialStateProperty<
Color?> ? dataRowColor, double? dataRowHeight, TextStyle? dataTextStyle, MaterialStateProperty<Color?> ? headingRowColor, double? headingRowHeight, TextStyle? headingTextStyle, double? dividerThickness, Alignment? headingAlignment}) -
const
Properties
- checkboxHorizontalMargin → double?
-
Horizontal margin around the checkbox, if it is displayed.
finalinherited
- columnSpacing → double?
-
The horizontal margin between the contents of each data column.
finalinherited
-
dataRowColor
→ MaterialStateProperty<
Color?> ? -
The background color for the data rows.
finalinherited
-
dataRowCursor
→ MaterialStateProperty<
MouseCursor?> ? -
If specified, overrides the default value of DataRow.mouseCursor.
finalinherited
- dataRowHeight → double?
-
The height of each row (excluding the row that contains column headings).
no setterinherited
- dataRowMaxHeight → double?
-
The maximum height of each row (excluding the row that contains column headings).
finalinherited
- dataRowMinHeight → double?
-
The minimum height of each row (excluding the row that contains column headings).
finalinherited
- dataTextStyle → TextStyle?
-
The text style for data rows.
finalinherited
- decoration → Decoration?
-
The background and border decoration for the table.
finalinherited
- dividerThickness → double?
-
The width of the divider that appears between TableRows.
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- headingAlignment → Alignment?
-
final
-
headingCellCursor
→ MaterialStateProperty<
MouseCursor?> ? -
If specified, overrides the default value of DataColumn.mouseCursor.
finalinherited
-
headingRowColor
→ MaterialStateProperty<
Color?> ? -
The background color for the heading row.
finalinherited
- headingRowHeight → double?
-
The height of the heading row.
finalinherited
- headingTextStyle → TextStyle?
-
The text style for the heading row.
finalinherited
- horizontalMargin → double?
-
The horizontal margin between the edges of the table and the content
in the first and last cells of each row.
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
copyWith(
{Decoration? decoration, MaterialStateProperty< Color?> ? dataRowColor, double? dataRowHeight, double? dataRowMinHeight, double? dataRowMaxHeight, TextStyle? dataTextStyle, MaterialStateProperty<Color?> ? headingRowColor, double? headingRowHeight, TextStyle? headingTextStyle, double? horizontalMargin, double? columnSpacing, double? dividerThickness, double? checkboxHorizontalMargin, MaterialStateProperty<MouseCursor?> ? headingCellCursor, MaterialStateProperty<MouseCursor?> ? dataRowCursor}) → DataTableThemeData -
Creates a copy of this object but with the given fields replaced with the
new values.
override
-
debugFillProperties(
DiagnosticPropertiesBuilder properties) → void -
Add additional properties associated with the node.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toDiagnosticsNode(
{String? name, DiagnosticsTreeStyle? style}) → DiagnosticsNode -
Returns a debug representation of the object that is used by debugging
tools and by DiagnosticsNode.toStringDeep.
inherited
-
toString(
{DiagnosticLevel minLevel = DiagnosticLevel.info}) → String -
A string representation of this object.
inherited
-
toStringShort(
) → String -
A brief description of this object, usually just the runtimeType and the
hashCode.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited