StatelessElement class

Inheritance

Constructors

StatelessElement(StatelessWidget 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
widget StatelessWidget
no setteroverride

Methods

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

Operators

operator ==(Object other) bool
The equality operator.
inherited