dartDefaultProps property
- @Deprecated('Only used with the deprecated Component base class and not Component2.')
The cached, unmodifiable copy of Component.getDefaultProps computed in registerComponent.
For use in ReactDartComponentFactoryProxy
when creating new ReactElements,
or for external use involving inspection of Dart prop defaults.
Implementation
@Deprecated('Only used with the deprecated Component base class and not Component2.')
external Map? get dartDefaultProps;
- @Deprecated('Only used with the deprecated Component base class and not Component2.')
Implementation
@Deprecated('Only used with the deprecated Component base class and not Component2.')
external set dartDefaultProps(Map? value);