ButtonWidgetData class

data class for a button

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

Constructors

ButtonWidgetData({String type = "button", Cell? cell, List<WidgetData>? children, required Value label, Font? font, Color? foregroundColor, Color? backgroundColor, Insets? padding, String? onClick})

Properties

backgroundColor ↔ Color?
getter/setter pair
cell ↔ Cell?
getter/setter pairinherited
children → List<WidgetData>
finalinherited
font ↔ Font?
getter/setter pair
foregroundColor ↔ Color?
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
id ↔ String
getter/setter pairinherited
label ↔ Value
getter/setter pair
onClick ↔ String?
getter/setter pair
padding ↔ Insets?
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