DeclareProperty constructor

const DeclareProperty({
  1. String group = "",
  2. bool hide = false,
  3. Type? editor,
  4. String? label,
  5. Type? validator,
})

Create a new DeclareProperty group the group name of the property which will be used by the property panel hide if true the property is not displayed in the property panel editor optional PropertyEditorBuilder type that will be used to create the editor label the label of the property. This is actually a i18n key validator optional PropertyValidator class used to validate the property.

Implementation

const DeclareProperty({this.group = "", this.hide = false, this.editor, this.label, this.validator});