PlutoRow class

Constructors

PlutoRow({required Map<String, PlutoCell> cells, PlutoRowType? type, int sortIdx = 0, bool checked = false, Key? key})
PlutoRow.fromJson(Map<String, dynamic> json, {String? childrenField})
Create PlutoRow in json type. The key of the json you want to generate must match the key of PlutoColumn.
factory

Properties

cells Map<String, PlutoCell>
getter/setter pair
checked bool?
The state value that the checkbox is checked. If the enableRowChecked value of the PlutoColumn property is set to true, a check box appears in the cell of the corresponding column. To manually change the values at runtime, use the PlutoStateManager.setRowChecked or PlutoStateManager.toggleAllRowChecked methods.
no setter
depth int
Returns the depth if PlutoRow is a child of a group row.
no setter
hashCode int
The hash code for this object.
no setterinherited
initialized bool
no setter
isMain bool
Returns whether PlutoRow is the top position.
no setter
key Key
no setter
parent PlutoRow?
If PlutoRow is included as a child of a group row, parent is the parent's reference.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sortIdx int
Value to maintain the default sort order when sorting columns. If there is no value, it is automatically set when loading the grid.
getter/setter pair
state PlutoRowState
State when a new row is added or the cell value in the row is changed.
no setter
type PlutoRowType
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setChecked(bool? flag) → void
setParent(PlutoRow? row) → void
setState(PlutoRowState state) → void
toJson({bool includeChildren = true, String childrenField = 'children'}) Map<String, dynamic>
Convert the row to json type.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited