WidgetDescriptor class

Constructors

WidgetDescriptor({required DeclareWidget annotation, required TypeDescriptor type, required List<PropertyDescriptor> properties, required Widget icon})

Properties

annotation DeclareWidget
getter/setter pair
group String
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
icon Widget
final
label String
getter/setter pair
name String
no setter
properties Map<String, PropertyDescriptor>
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type → TypeDescriptor
final

Methods

create() WidgetData
get<T>(dynamic instance, String property) → T
getProperty(String name) PropertyDescriptor
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
parse<T>(Map<String, dynamic> data) → T
set(dynamic instance, String property, dynamic value) → void
toString() String
A string representation of this object.
inherited
updateI18n() → void

Operators

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