SvgBuilder class
Properties
args
→ dynamic
final inherited
hashCode
→ int
The hash code for this object.
no setter inherited
preferredSizeWidget
→ bool
final inherited
runtimeType
→ Type
A representation of the runtime type of the object.
no setter inherited
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 })
→ _Svg
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 })
→ SvgBuilderModel
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 })
→ SvgBuilder
Static function that is capable of decoding the widget from a dynamic JSON
or YAML set of values.
json_dynamic_widget_plugin_svg 4.0.1+8