WidgetGenerator class

Generates a Flutter widget.

Constructors

WidgetGenerator.new(String name)
Creates a new instance of WidgetGenerator.

Properties

hashCode int
The hash code for this object.
no setterinherited
name String
The name of the widget.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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