WidgetModule class abstract
- Inheritance
-
- Object
- DiagnosticableTree
- Widget
- StatelessWidget
- WidgetModule
Constructors
- WidgetModule({Key? key})
Properties
-
binds
→ List<
Bind< Object> > -
Link injected objects
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
-
imports
→ List<
Module> -
Import Binds from other modules.
ATTENTION: The binds must be marked with the flag export: true, in the module to be imported.
final
-
instanciatedSingletons
→ List<
BindEntry< Object> > -
Bind ready as singleton
no setter
- key → Key?
-
Controls how one widget replaces another widget in the tree.
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
no setter
- view → Widget
-
no setter
Methods
-
build(
BuildContext context) → Widget -
Describes the part of the user interface represented by this widget.
override
-
changeBinds(
List< BindContract< newBinds) → voidObject> > - Change binds
-
createElement(
) → StatelessElement -
Creates a StatelessElement to manage this widget's location in the tree.
inherited
-
debugDescribeChildren(
) → List< DiagnosticsNode> -
Returns a list of
DiagnosticsNode
objects describing this node's children.inherited -
debugFillProperties(
DiagnosticPropertiesBuilder properties) → void -
Add additional properties associated with the node.
inherited
-
dispose(
) → void - Dispose all bind from the memory
-
getBind<
T extends Object> (Injector injector) → BindEntry< T> ? - Get the binds for that context.
-
getProcessBinds(
) → List< BindContract< Object> > - get processed binds
-
instantiateSingletonBinds(
List< BindEntry< singletons, Injector injector) → voidObject> > -
isReady(
) → Future< void> - checks if all asynchronous binds are ready to be used synchronously.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
remove<
T> () → bool - Dispose bind from the memory
-
removeScopedBind(
) → bool -
toDiagnosticsNode(
{String? name, DiagnosticsTreeStyle? style}) → DiagnosticsNode -
Returns a debug representation of the object that is used by debugging
tools and by DiagnosticsNode.toStringDeep.
inherited
-
toString(
{DiagnosticLevel minLevel = DiagnosticLevel.info}) → String -
A string representation of this object.
inherited
-
toStringDeep(
{String prefixLineOne = '', String? prefixOtherLines, DiagnosticLevel minLevel = DiagnosticLevel.debug}) → String -
Returns a string representation of this node and its descendants.
inherited
-
toStringShallow(
{String joiner = ', ', DiagnosticLevel minLevel = DiagnosticLevel.debug}) → String -
Returns a one-line detailed description of the object.
inherited
-
toStringShort(
) → String -
A short, textual description of this widget.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited