WDynamicConfig class
Configuration for WindDynamic rendering.
Constructors
Properties
-
builders
→ Map<
String, WWidgetBuilder> -
Custom widget builders keyed by type name.
final
-
customIcons
→ Map<
String, IconData> -
Custom icon mappings keyed by name. Merged with built-in defaults.
final
-
denyWidgets
→ Set<
String> -
Widget types to deny (remove from default whitelist).
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- maxDepth → int
-
Maximum recursion depth for nested widgets.
final
- onError → Widget Function(String type, Object error)?
-
Called when a widget build throws an error.
final
-
onUnknownWidget
→ Widget Function(String type, Map<
String, dynamic> props)? -
Called when a widget type is not allowed or unknown.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
isAllowed(
String type) → bool - Check if a widget type is allowed to render.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
-
defaultFlutterWidgets
→ const Set<
String> - Flutter core widget types supported as convenience.
-
defaultWindWidgets
→ const Set<
String> - Default Wind widget types that are always available.