LabelWidgetData class

data class for a label

Inheritance
Annotations
  • @Dataclass.new()
  • @DeclareWidget(name: "label", group: "widgets", icon: "widget_label")
  • @JsonSerializable.new(discriminator: "label", includeNull: false)

Constructors

LabelWidgetData({String type = "label", Cell? cell, List<WidgetData>? children, required Value label, Color? color, Color? backgroundColor, Font? font})

Properties

backgroundColor ↔ Color?
getter/setter pair
cell ↔ Cell?
getter/setter pairinherited
children → List<WidgetData>
finalinherited
color ↔ Color?
getter/setter pair
font ↔ Font?
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
id ↔ String
getter/setter pairinherited
label ↔ Value
getter/setter pair
parent ↔ WidgetData?
getter/setter pairinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
type → String
finalinherited
widget ↔ AbstractEditorWidgetState<StatefulWidget>?
getter/setter pairinherited

Methods

acceptsChild(WidgetData widget) → bool
inherited
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