ManifoldEditor<M> constructor
const
ManifoldEditor<M> ({
- Key? key,
- ManifoldContainerStyle containerStyle = const DefaultManifoldContainerStyle(),
- M? edit,
- bool viewOnly = false,
- bool enableHeader = true,
- bool enableSearch = true,
- bool enableRawEditor = true,
- required void onChanged(
- M,
- bool
- bool root = true,
- bool inlineSubObjects = false,
- Map<
Type, ManifoldEditorOverrideBuilder> ? editorOverrides, - BehaviorSubject<
String?> ? rawSearch, - ManifoldPropertyDecorator decorator = const DynamicPropertyDecorator(widthDecorators: {0 : CompactPropertyDecorator(), 500 : DensePropertyDecorator()}),
- ManifoldDecoratorBuilder? decoratorBuilder,
- Widget? propertyEditorBuilder(
- ManifoldContext context
Implementation
const ManifoldEditor({
super.key,
this.containerStyle = const DefaultManifoldContainerStyle(),
this.edit,
this.viewOnly = false,
this.enableHeader = true,
this.enableSearch = true,
this.enableRawEditor = true,
required this.onChanged,
this.root = true,
this.inlineSubObjects = false,
this.editorOverrides,
this.rawSearch,
this.decorator = const DynamicPropertyDecorator(
widthDecorators: {
0: CompactPropertyDecorator(),
500: DensePropertyDecorator(),
},
),
this.decoratorBuilder,
this.propertyEditorBuilder,
});