Example<T> class

Inheritance

Constructors

Example({required String name, required Widget builder(T), ArgsSchema<T>? schema})
factory

Properties

builder Widget Function(T)
final
hashCode int
The hash code for this object.
no setterinherited
name String
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
schema ArgsSchema<T>?
final

Methods

build(dynamic args) Widget
override
call(Map<String, dynamic> args) Widget
inherited
decode(Map<String, dynamic> args) → dynamic
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

Static Methods

device<T>({required String name, required Widget builder(T), ArgsSchema<T>? schema}) Example