StacTableRow class
A single row in a Table
.
Holds an optional decoration and a list of children to render in that
row. Each child typically corresponds to a TableCell
or any widget.
- Inheritance
-
- Object
- StacElement
- StacTableRow
- Annotations
-
- @JsonSerializable()
Constructors
-
StacTableRow.new({StacBoxDecoration? decoration, List<
StacWidget> children = const <StacWidget>[]}) -
Creates a StacTableRow.
const
-
StacTableRow.fromJson(Map<
String, dynamic> json) -
Creates a StacTableRow from a JSON map.
factory
Properties
-
children
→ List<
StacWidget> -
Widgets contained in this row.
final
- decoration → StacBoxDecoration?
-
Optional background decoration for the row.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
Converts this StacTableRow to a JSON map.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited