ReactDartComponentFactoryProxy<TComponent extends Component> class

Inheritance
Implementers
Annotations
  • @Deprecated('Only used with the deprecated Component base class and not Component2,' ' which uses ReactDartComponentFactoryProxy2. Will be removed along with Component.')

Constructors

ReactDartComponentFactoryProxy(ReactClass reactClass)

Properties

defaultProps → Map
The cached Dart default props retrieved from reactClass that are passed into generateExtendedJsProps upon ReactElement creation.
final
hashCode → int
The hash code for this object.
no setterinherited
reactClass → ReactClass
The ReactJS class used as the type for all ReactElements built by this factory.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
type → ReactClass
The type of component created by this factory.
no setteroverride

Methods

build(Map props, [List<ReactNode?> childrenArgs = const []]) → ReactElement
Returns a new rendered component instance with the specified props and childrenArgs.
override
call(Map props, [dynamic c1 = _notSpecified, dynamic c2 = _notSpecified, dynamic c3 = _notSpecified, dynamic c4 = _notSpecified, dynamic c5 = _notSpecified, dynamic c6 = _notSpecified, dynamic c7 = _notSpecified, dynamic c8 = _notSpecified, dynamic c9 = _notSpecified, dynamic c10 = _notSpecified, dynamic c11 = _notSpecified, dynamic c12 = _notSpecified, dynamic c13 = _notSpecified, dynamic c14 = _notSpecified, dynamic c15 = _notSpecified, dynamic c16 = _notSpecified, dynamic c17 = _notSpecified, dynamic c18 = _notSpecified, dynamic c19 = _notSpecified, dynamic c20 = _notSpecified, dynamic c21 = _notSpecified, dynamic c22 = _notSpecified, dynamic c23 = _notSpecified, dynamic c24 = _notSpecified, dynamic c25 = _notSpecified, dynamic c26 = _notSpecified, dynamic c27 = _notSpecified, dynamic c28 = _notSpecified, dynamic c29 = _notSpecified, dynamic c30 = _notSpecified, dynamic c31 = _notSpecified, dynamic c32 = _notSpecified, dynamic c33 = _notSpecified, dynamic c34 = _notSpecified, dynamic c35 = _notSpecified, dynamic c36 = _notSpecified, dynamic c37 = _notSpecified, dynamic c38 = _notSpecified, dynamic c39 = _notSpecified, dynamic c40 = _notSpecified]) → ReactElement
Returns a new rendered component instance with the specified props and children (c1, c2, et. al.).
inherited
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

Static Methods

generateExtendedJsProps(Map props, ReactNode? children, {Map? defaultProps}) → InteropProps
Returns a JavaScript version of the specified props, preprocessed for consumption by ReactJS and prepared for consumption by the react library internals.