StraitWidget class
A StraitWidget allows you to build up a List of Widgets inside of a Widget. Like the Builder, you have to provide a Function, which takes in a List and then you can add on to this list.
Constructors
-
StraitWidget(dynamic strait(List<
Widget> )) - A StraitWidget is as Strait running widget, it executes your Method and gets the output. You need a StraitWidget around every strait content
Properties
Methods
-
generate(
Context context) → Widget -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → dynamic -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- builder ↔ RestActionBuilder
-
Used by external functions that generate content for the actual widget.
getter/setter pair