JsonMaterialIconBuilder class
Properties
-
args
→ dynamic
-
finalinherited
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
preferredSizeWidget
→ bool
-
finalinherited
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
-
type
→ String
-
Constant that can be referenced for the builder's type.
no setter
Methods
-
build({required ChildWidgetBuilder? childBuilder, required BuildContext context, required JsonWidgetData data})
→ Widget
-
Builds the widget. If there are dynamic keys on the
data
object, and
the widget is not a PreferredSizeWidget, then the returned widget will
be wrapped by a stateful widget that will rebuild if any of the dynamic
args change in value.
inherited
-
buildCustom({ChildWidgetBuilder? childBuilder, required BuildContext context, required JsonWidgetData data, Key? key})
→ Icon
-
Custom builder that subclasses must override and implement to return the
actual Widget to be placed on the tree.
-
createModel({ChildWidgetBuilder? childBuilder, required JsonWidgetData data})
→ JsonMaterialIconBuilderModel
-
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
toString()
→ String
-
A string representation of this object.
inherited
Static Methods
-
fromDynamic(dynamic map, {JsonWidgetRegistry? registry})
→ JsonMaterialIconBuilder
-
Static function that is capable of decoding the widget from a dynamic JSON
or YAML set of values.