JsonOpacityBuilder class

Inheritance

Constructors

JsonOpacityBuilder({required dynamic args})
const

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 setteroverride

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}) Opacity
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}) JsonOpacityBuilderModel
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

fromDynamic(dynamic map, {JsonWidgetRegistry? registry}) JsonOpacityBuilder
Static function that is capable of decoding the widget from a dynamic JSON or YAML set of values.

Constants

kType → const String