WidgetData class

Implementers
Annotations
  • @Dataclass.new()
  • @JsonSerializable.new(discriminatorField: "type", includeNull: false)

Constructors

WidgetData({required String type, List<WidgetData>? children, Cell? cell})

Properties

cell Cell?
getter/setter pair
children List<WidgetData>
final
hashCode int
The hash code for this object.
no setterinherited
id String
final
parent WidgetData?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type String
final
widget AbstractEditorWidgetState<StatefulWidget>?
getter/setter pair

Methods

acceptsChild(WidgetData widget) bool
canMove(Direction direction) bool
canMoveChild(WidgetData child, Direction direction) bool
index() int
isParentOf(WidgetData w1, WidgetData w2) bool
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

Operators

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