MoonTableRow class

Constructors

MoonTableRow({bool selected = false, double? height, Decoration? decoration, ValueChanged<bool?>? onSelectChanged, VoidCallback? onTap, MoonTableRowLabel? label, required List<Widget> cells})
Creates a Moon Design table row.
const

Properties

cells List<Widget>
The list of widgets to display as the cells of the table row. Must contain the same number of cells as MoonTableHeader.columns and cannot be empty.
final
decoration Decoration?
The custom decoration of the table row.
final
hashCode int
The hash code for this object.
no setterinherited
height double?
The height of the table row, primarily determined by this value. If not explicitly specified, MoonTable.rowSize is used. If MoonTable.rowSize is also unspecified, the height will dynamically adjust based on the content of the table row.
final
label MoonTableRowLabel?
A widget to display inside the table row, spanning the full width above the row cells.
final
onSelectChanged ValueChanged<bool?>?
The callback that returns the current selection status of the table row as a boolean value.
final
onTap VoidCallback?
The callback that is called when the table row is tapped.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
selected bool
Whether the table row is selected.
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