dartDefaultProps property

  1. @Deprecated('Only used with the deprecated Component base class and not Component2.')
Map? get dartDefaultProps

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;
  1. @Deprecated('Only used with the deprecated Component base class and not Component2.')
set dartDefaultProps (Map? value)

Implementation

@Deprecated('Only used with the deprecated Component base class and not Component2.')
external set dartDefaultProps(Map? value);