NiceComponentMappingTable class
Registry of all React ↔ Flutter component mappings.
Properties
-
all
→ List<
NiceComponentMapping> -
Get all registered mappings.
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
Methods
-
flutterWidget(
String schemaType) → String? - Get the Flutter widget name for a schema type.
-
loadDefaults(
) → void - Load default mappings for the NiceToDev component library.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
propMapping(
String schemaType) → Map< String, String> - Get property mapping (React prop name → Flutter prop name).
-
reactComponent(
String schemaType) → String? - Get the React component name for a schema type.
-
register(
NiceComponentMapping mapping) → void - Register a mapping.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- instance → NiceComponentMappingTable
-
final