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.

Inheritance

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

hashCode int
The hash code for this object.
no setterinherited
result List<Widget>
The result of the StraitWidget generation
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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