WidgetProperty class

Inheritance

Constructors

WidgetProperty({required Widget widget, required ValuedWidgetAdapter adapter, DisplayValue displayValue = identity, ParseValue parseValue = identity})

Properties

adapter ValuedWidgetAdapter
getter/setter pair
args Map<String, dynamic>
getter/setter pair
displayValue DisplayValue
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
parseValue ParseValue
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
widget Widget
getter/setter pair

Methods

arg<T>(String key) → T
dispose() → void
get(dynamic instance, ValuedWidgetContext context) → dynamic
Read a property value given an instance
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
set(dynamic instance, dynamic value, ValuedWidgetContext context) → void
Write a property value given an instance
override
setArg<T>(String key, T value) → void
toString() String
A string representation of this object.
inherited

Operators

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