StatelessWidget class abstract
A Widget that does not have a mutable state.
- Inheritance
- Mixed in types
- Implementers
Constructors
- StatelessWidget({String? key, Ref? ref})
-
const
Properties
Methods
-
build(
BuildContext context) → Widget -
Returns a single widget with the given
context
.inherited -
createNode(
) → StatelessNode< StatelessWidget> -
Returns a Node corresponding to this
Widget
at a particular location in the Node tree.override -
matches(
Widget otherWidget) → bool -
Checks if two widgets match during a ReassemblableNode reassembly.
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