TTableRowCardTheme class
Theme configuration for TTableRowCard.
TTableRowCardTheme styles the desktop/tablet row view in tables, including:
- Margins/Padding
- Elevation
- Text content style
- Background colors for rows
Constructors
- TTableRowCardTheme({EdgeInsets margin = const EdgeInsets.only(bottom: 8), EdgeInsets padding = const EdgeInsets.symmetric(vertical: 12, horizontal: 16), double elevation = 1, BorderRadius borderRadius = const BorderRadius.all(Radius.circular(8)), Color? backgroundColor, Color? selectedBackgroundColor, Border? border, TextStyle? contentTextStyle})
-
Creates a table row card theme.
const
Properties
- backgroundColor → Color?
-
final
- border → Border?
-
final
- borderRadius → BorderRadius
-
final
- contentTextStyle → TextStyle?
-
final
- elevation → double
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- margin → EdgeInsets
-
final
- padding → EdgeInsets
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- selectedBackgroundColor → Color?
-
final
Methods
-
getBackgroundColor(
ColorScheme colors, bool isSelected) → Color - Returns the row background color based on selection.
-
getContentTextStyle(
ColorScheme colors) → TextStyle - Returns the default text style for cell content.
-
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.
inherited