Inspector constructor
const
Inspector({
- Key? key,
- Map<
Type, EditorBuilder> ? editors, - List<
Inspectable> ? objects, - Object? customData,
- void onUpdatedProperty(
- List<
InspectableProperty> properties, - dynamic value
- List<
Creates an Inspector.
objects defaults to an empty list and editors defaults to an empty
map when not provided.
Implementation
const Inspector({
super.key,
Map<Type, EditorBuilder>? editors,
List<Inspectable>? objects,
this.customData,
this.onUpdatedProperty,
}) : objects = objects ?? const [],
editors = editors ?? const {};