GridWidgetData class
data class for grid like structures
- Inheritance
-
- Object
- WidgetData
- GridWidgetData
- Annotations
-
- @Dataclass.new()
- @DeclareWidget(name: "grid", group: "container", icon: "widget_gridview")
- @JsonSerializable.new(discriminator: "grid", includeNull: false)
Constructors
-
GridWidgetData({String type = "grid", List<
WidgetData> ? children, Cell? cell, List<GridItem> ? rows, List<GridItem> ? cols, int spacing = 0})
Properties
- cell ↔ Cell?
-
getter/setter pairinherited
-
children
→ List<
WidgetData> -
finalinherited
-
cols
↔ List<
GridItem> -
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- id ↔ String
-
getter/setter pairinherited
- parent ↔ WidgetData?
-
getter/setter pairinherited
-
rows
↔ List<
GridItem> -
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- spacing ↔ int
-
getter/setter pair
- type → String
-
finalinherited
-
widget
↔ AbstractEditorWidgetState<
StatefulWidget> ? -
getter/setter pairinherited
Methods
-
acceptsChild(
WidgetData widget) → bool -
override
-
canMove(
Direction direction) → bool -
inherited
-
canMoveChild(
WidgetData child, Direction direction) → bool -
inherited
-
index(
) → int -
inherited
-
isParentOf(
WidgetData w1, WidgetData w2) → bool -
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
update(
) → void -
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited