NapaWidget class abstract
Wrapper class for Widget base class. https://api.flutter.dev/flutter/widgets/Widget-class.html
Acts as base class for any NapaWidget.
Exposes type as read-only property.
- Mixed-in types
-
- Inspectable
- Implementers
Constructors
- NapaWidget({NapaChildMode childMode = NapaChildMode.noChildren})
Properties
- childMode → NapaChildMode
-
final
- 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 setter
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.
-
toString(
) → String -
A string representation of this object.
override
-
toWidget(
) → Widget - Get a Flutter widget equivalent object.
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.