IProperties mixin

An interface for registering a Solution's Properties.

Mixin applications

Properties

builders Map<String, Function>
no setter
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
schema Map<String, EditorNodeBase>
no setter

Methods

getSchema() Map<String, dynamic>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
registerAbstractType(String name, Map<String, EditorPropertyType> properties) → void
Method for registering a property without a resolver.
registerListType(String name, ValueBuildFunction func, List<String> values) → void
Method for registering a property that has any value from a list of possible values, with the same resolver. On the Editor, it will be shown as a dropdown element. eg: Alignment
registerProperties() → void
Abstract method to register an IProperties' properties schema and resolver.
registerSpecSubType(String baseType, String name, SpecBuildFunction func, Map<String, EditorPropertyType> properties) → void
Method for registering a subtype of an existing property with its own resolver.
registerSpecType(String name, SpecBuildFunction func, Map<String, EditorPropertyType> properties, {Map<String, Map<String, EditorPropertyType>>? subTypes}) → void
Method for registering a property which itself has properties. eg: BoxDecoration, TextStyle
registerValueSpecSubType(String baseType, String name, ValueSpecBuildFunction func, Map<String, EditorPropertyType> properties) → void
Method for registering a subtype of an existing property with its own resolver.
registerValueSpecType(String name, ValueSpecBuildFunction func, Map<String, EditorPropertyType> properties, {Map<String, Map<String, EditorPropertyType>>? subTypes}) → void
Method for registering an object property, whose resolver requires a value for its execution. eg: ImageProvider needs the path or url.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited