DeclareProperty class
Annotation used to annotate WidgetData properties
- Inheritance
-
- Object
- FieldAnnotation
- DeclareProperty
Constructors
- DeclareProperty({String group = "", bool hide = false, Type? editor, String? label, Type? validator})
-
Create a new DeclareProperty
groupthe group name of the property which will be used by the property panelhideiftruethe property is not displayed in the property paneleditoroptional PropertyEditorBuilder type that will be used to create the editorlabelthe label of the property. This is actually a i18n keyvalidatoroptional PropertyValidator class used to validate the property.const
Properties
Methods
-
apply(
TypeDescriptor type, FieldDescriptor field) → void -
callback executed by the type infrastructure
typetheTypeDescriptorof the annotated classmethodtheFieldDescriptorof the annotated fieldoverride -
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