WidgetGenerator class
Generates a Flutter widget.
Constructors
- WidgetGenerator.new(String name)
- Creates a new instance of WidgetGenerator.
Properties
Methods
-
generate(
) → void - Generates the widget files.
-
getStalessCode(
) → String - Generates the code for a stateless widget.
-
getStatfulCode(
) → String - Generates the code for a stateful widget.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited