INNER CODE UNIT · Dart
ControlProperty
bluefireteam/dashbook · lib/src/story.dart:5
class ControlProperty {
const ControlProperty(this.key, this.value);
final String key;
final Object value;
}
/// Signature for a function that creates the property editor widget.
///
/// Used by [Property.withBuilder].
typedef PropertyEditorBuilder<T> = Widget Function(
Property<T> property,
PropertyChanged onChanged,
Key? key,
);
abstract class Property<T> {
Property(