MetaPropertyHandler<T> class
abstract
Inspects a schema and looks for specialized properties for which we want to build a special UI or component. Some
fields might be grouped together, for example
T
The type of data this handler should encounter.
- Implementers
- BaseEmbedPropertyHandler
- CollapsingEmbedPropertyHandler
- DefaultPropertyHandler
- DurationPropertyHandler
- HiddenPropertyHandler
- ImageGalleryPropertyHandler
- ImageUploadPropertyHandler
- MverseEmbedOptionHandler
- MverseLinkOptionHandler
- PhoneWithExtensionPropertyHandler
- RangePropertyHandler
- VideoGalleryPropertyHandler
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
acceptProperties(
JsonPath? basePath, IMSchemaDefinition definition, Map< JsonPath, IMSchemaProperty> available) → Iterable<HandledPaths> -
Examines a form, and returns a list of properties that this handler is capable of dealing with, grouped together
in
HandledPaths
. Each of these field clusters will be passed back to the handler during rendering -
castState<
X> (SunnyFormFieldState state) → SunnyFormFieldState< T> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
renderProperty(
BuildContext context, IMetaFormContext metaForm, HandledPaths paths, SunnyFormFieldState< T> state, {Key? key}) → Iterable<Widget> - Renders a widget (or null) for a provided HandledPaths (see acceptProperties)
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited