WidgetBuilder<T extends WidgetData> class abstract

A WidgetBuilder is a factory that creates a specific widget responsible to display a WidgetData

Implementers
Annotations
  • @Injectable.new(factory: false, eager: false)

Constructors

WidgetBuilder({required String name, bool edit = false})
create a new WidgetBuilder name the name of the widget edit if true, the widget will be in edit mode

Properties

edit bool
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
name String
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

create(T data, Environment environment, BuildContext context) Widget
create the widget given a WidgetData type data the widget data environment the current Environment context the BuildContext
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
resolveValue(WidgetContext widgetContext, Value value) → (String, TypeProperty?)
setThema(WidgetFactory theme) → void
toString() String
A string representation of this object.
inherited

Operators

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