BaseWidgetBuilder<T extends BaseController> class
Constructors
-
BaseWidgetBuilder({Key? key, bool global = true, bool isComponent = true, String? tag, required T controller, required Widget builder(BuildContext context, Map<String, List<Map<String, Object?>?>?> data, T controller), Widget skeletonBuilder(BuildContext context, T controller)?, dynamic initState(GetBuilderState<T> state)?, dynamic dispose(GetBuilderState<T> state)?, dynamic didChangeDependencies(GetBuilderState<T> state)?, dynamic didUpdateWidget(GetBuilder<GetxController> oldWidget, GetBuilderState<T> state)?, String toString(DiagnosticLevel minLevel)?})
-
const
Methods
-
build(BuildContext context)
→ Widget
-
Describes the part of the user interface represented by this widget.
inherited
-
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
-
didChangeDependencies(GetBuilderState<T> state)
→ void
-
override
-
didUpdateWidget(GetBuilder<GetxController> oldWidget, GetBuilderState<T> state)
→ void
-
override
-
dispose(GetBuilderState<T> state)
→ void
-
override
-
getController({String? tag})
→ T
-
inherited
-
getEmptyView(T baseController)
→ Widget
-
inherited
-
getErrorView(AsyncSnapshot<Map<String, List<Map<String, Object?>?>?>?> snapshot, T controller)
→ Widget
-
inherited
-
getMainView(BuildContext context, Map<String, List<Map<String, Object?>?>?> data, T controller)
→ Widget
-
override
-
getSkeletonView(BuildContext context, T controller)
→ Widget
-
override
-
getWaitingView(BuildContext context)
→ Widget
-
inherited
-
initState(GetBuilderState<T> state)
→ void
-
override
-
noInternet()
→ Widget
-
inherited
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
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.
override
-
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