NapaStack class

Inheritance

Constructors

NapaStack({AlignmentGeometry alignment = AlignmentDirectional.topStart, StackFit fit = .loose, Clip clipBehavior = .hardEdge, List<NapaWidget>? children})

Properties

alignment ↔ AlignmentGeometry
getter/setter pair
childMode → NapaChildMode
finalinherited
children ↔ List<NapaWidget>
getter/setter pairinherited
clipBehavior ↔ Clip
getter/setter pair
fit ↔ StackFit
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
properties ↔ List<InspectableProperty>
The list of inspectable property descriptors for this object.
getter/setter pairinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
textDirection ↔ TextDirection?
getter/setter pair
widgetName → String
no setteroverride

Methods

getProperty(String name) → InspectableProperty?
Returns the first property whose InspectableProperty.name matches name, or null if no such property exists.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
removeProperty(String name) → void
Removes the property with the given name from properties.
inherited
toJson() → dynamic
toJson returns a json compatible object.
override
toString() → String
A string representation of this object.
inherited
toWidget() → Widget
Get a Flutter widget equivalent object.
override

Operators

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

Static Methods

decode(dynamic data) → NapaStack?
Deserialize a json compatible object into a NapaWidget or null.
override