StatelessWidget class abstract
The base class for creating stateless widgets in Dawn.
- Inheritance
- Mixed in types
- Implementers
Constructors
- StatelessWidget({String? key})
-
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- key → String?
-
Keys are used in distinguishing unique widgets in the diffing process. It
also can be used to perform animations on a widget on every rebuild.
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
build(
Context context) → Widget -
Returns the UI content to be painted on the screen.
inherited
-
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