GroupedTableDataCell class

Represents a data cell in the grouped table

Constructors

GroupedTableDataCell({required Widget child, int colSpan = 1, int rowSpan = 1, Color? backgroundColor, TextStyle? textStyle, Alignment alignment = Alignment.center, Border? border, double? height})
const
GroupedTableDataCell.merged({required Widget child, required int colSpan, int rowSpan = 1, Color? backgroundColor, TextStyle? textStyle, Alignment alignment = Alignment.center})
Creates a merged cell spanning multiple columns
factory
GroupedTableDataCell.rowSpan({required Widget child, required int rowSpan, Color? backgroundColor, TextStyle? textStyle, Alignment alignment = Alignment.center})
Creates a cell with row span
factory
GroupedTableDataCell.text(String text, {int colSpan = 1, int rowSpan = 1, Color? backgroundColor, TextStyle? textStyle, Alignment alignment = Alignment.center})
Creates a simple data cell with text
factory

Properties

alignment → Alignment
Alignment of the cell content
final
backgroundColor → Color?
Background color of the cell
final
border → Border?
Border configuration
final
child → Widget
The widget content of the cell
final
colSpan → int
Number of columns this cell spans (default: 1)
final
hashCode → int
The hash code for this object.
no setterinherited
height → double?
Height of the cell (optional, defaults to rowHeight)
final
rowSpan → int
Number of rows this cell spans (default: 1)
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
textStyle → TextStyle?
Text style of the cell (applied if child is Text)
final

Methods

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