Widget class abstract
Flutter-like widgets for building UIs with HTML elements. Define the build
method to create a new widget.
class NotFoundPage extends Widget {
@override
Element build() => paragraphElement(text: '404: Not found');
}
- Implementers
Properties
Methods
-
inflate(
BuildContext context) → void -
Set this widget context, build it’s child, and render the widget, updating
Context.element
When overriding pay attention that inflate need to callbuild
and render -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
render(
BuildContext context) → Element - Render the DOM element and add it to the context.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited