componentDefaultProps property

Map get componentDefaultProps

An unmodifiable map view of the default props for this component brought in from the componentFactory.

Implementation

// ignore: deprecated_member_use
Map get componentDefaultProps {
  final componentFactory = this.componentFactory;
  // ignore: deprecated_member_use
  return componentFactory is ReactDartComponentFactoryProxy
    ? componentFactory.defaultProps
    : const {};
}