NativeBaseWidgetBuilder<T extends Widget> class
abstract
NativeBaseWidgetBuilder is builder class which should be used by all the nativebase widget this class hold the build method and follows the builder pattern This class will be using resolver mixin to resolve the props and tokens in build method
- Inheritance
-
- Object
- DiagnosticableTree
- Widget
- StatelessWidget
- NativeBaseWidgetBuilder
- Mixed-in types
- Implementers
Constructors
- NativeBaseWidgetBuilder({Key? key})
-
const
Properties
Methods
-
build(
BuildContext context) → Widget -
Build method is responsible for building the entire widget
by using the resolvers
override
-
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
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
resolveComponentLevelTheme(
BuildContext context, Map< String, dynamic> styles, {String? component}) → Map<String, dynamic> -
inherited
-
resolveProps(
{required Map< String, dynamic> resolvedTokens}) → Map<String, dynamic> -
inherited
-
resolveTokens(
{required Map< String, dynamic> toJson, required BuildContext context, Component? component}) → Map<String, dynamic> -
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
-
toJson(
) → Map< String, dynamic> - Holds the override implementation of the widget to get json format of the widget class
-
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