InspectableProperty<T> constructor

InspectableProperty<T>({
  1. required String name,
  2. required T? getValue(
    1. Inspectable obj
    ),
  3. void setValue(
    1. Inspectable obj,
    2. dynamic value,
    3. Object? customData
    )?,
  4. List<T> values()?,
  5. (T, T)? clamp,
  6. bool readOnly = false,
  7. bool nullable = false,
  8. List<InspectableProperty> getSubProperties(
    1. Inspectable obj
    )?,
  9. String? customEditor,
})

Implementation

InspectableProperty({
  required this.name,
  required this.getValue,
  this.setValue,
  this.values,
  this.clamp,
  this.readOnly = false,
  this.nullable = false,
  this.getSubProperties,
  this.customEditor,
});