NapaExpanded class
Wrapper class for Expanded. https://api.flutter.dev/flutter/widgets/Expanded-class.html
- Inheritance
-
- Object
- NapaWidget
- NapaProxyWidget
- NapaParentDataWidget
- NapaFlexible
- NapaExpanded
Constructors
- NapaExpanded({int flex = 1, required NapaWidget child})
Properties
- child ↔ NapaWidget
-
getter/setter pairinherited
- childMode → NapaChildMode
-
finalinherited
- fit ↔ FlexFit
-
getter/setter pairinherited
- flex ↔ int
-
getter/setter pairinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
-
properties
↔ List<
InspectableProperty> -
inspectable property list.
getter/setter pairinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- widgetName → String
-
no setteroverride
Methods
-
getProperty(
String name) → InspectableProperty? -
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
removeProperty(
String name) → void -
inherited
-
toJson(
) → dynamic -
toJson returns a json compatible object.
inherited
-
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) → NapaWidget? -
Deserialize a json compatible object into a NapaWidget or null.
override