StatefulElement class
- Inheritance
-
- Object
- Element
- ComponentElement
- StatefulElement
Constructors
- StatefulElement(StatefulWidget widget, ContextRequest request, GetSocket? socketStream)
- Creates an element that uses the given widget as its configuration.
Properties
- getSocket → GetSocket?
-
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- method → Method
-
no setteroverride
- request → ContextRequest
-
finalinherited
- response → ContextResponse?
-
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
state
→ State<
StatefulWidget> -
The State instance associated with this location in the tree.
final
- widget → Widget
-
no setterinherited
Methods
-
activate(
) → void -
build(
) → Widget -
override
-
close(
) → Future -
inherited
-
file(
String name, {Encoding encoder = utf8}) → Future< MultipartUpload> -
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
pageNotFound(
) → Future -
inherited
-
param(
String name) → String? -
inherited
-
payload(
{Encoding encoder = utf8}) → Future< Map?> -
inherited
-
performRebuild(
) → void -
override
-
send(
Object string) → Future -
inherited
-
sendBytes(
List< int> data) → Future -
inherited
-
sendHtml(
String path) → Future -
inherited
-
sendJson(
Object string) → Future? -
inherited
-
statusCode(
int code) → void -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
unmount(
) → void
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited