Widget class abstract

The base class for all of Dawn's widgets.

Notice: Unlike Flutter, key is a String in Dawn.

Implementers

Constructors

Widget({String? key, Ref? ref})
const

Properties

hashCode int
The hash code for this object.
no setterinherited
key String?
final
ref Ref?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

createNode() Node<Widget>
Returns a Node corresponding to this Widget at a particular location in the Node tree.
matches(Widget otherWidget) bool
Checks if two widgets match during a ReassemblableNode reassembly.
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