TTableMobileCardTheme class

Theme configuration for TTableMobileCard.

TTableMobileCardTheme extends TKeyValueTheme to style the mobile card view of table rows. It adds card-specific properties like:

  • Margins/Padding
  • Elevation
  • Border Radius
  • Background and Border colors (normal/selected)
Inheritance

Constructors

TTableMobileCardTheme({EdgeInsets margin = const EdgeInsets.only(bottom: 12), EdgeInsets padding = const EdgeInsets.all(16), double elevation = 1, BorderRadius borderRadius = const BorderRadius.all(Radius.circular(12)), Color? backgroundColor, Color? selectedBackgroundColor, Border? border, Border? selectedBorder})
Creates a mobile card theme.
const

Properties

backgroundColor Color?
final
border Border?
final
borderRadius BorderRadius
final
elevation double
final
forceKeyValue bool
finalinherited
gridSpacing double
finalinherited
hashCode int
The hash code for this object.
no setterinherited
keyStyle TextStyle?
finalinherited
keyValueBreakPoint double
finalinherited
labelStyle TextStyle?
finalinherited
margin EdgeInsets
final
minGridColWidth double
finalinherited
padding EdgeInsets
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
selectedBackgroundColor Color?
final
selectedBorder Border?
final
valueStyle TextStyle?
finalinherited

Methods

getBackgroundColor(ColorScheme colors, bool isSelected) Color
Returns the background color based on selection state.
getBorder(ColorScheme colors, bool isSelected) Border
Returns the border based on selection state.
getKeyStyle(ColorScheme colors) TextStyle
Returns the effective key style.
inherited
getLabelStyle(ColorScheme colors) TextStyle
Returns the effective label style.
inherited
getValueStyle(ColorScheme colors) TextStyle
Returns the effective value style.
inherited
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