ReactJsContextComponentFactoryProxy class

Creates ReactJS ReactElement instances for JSContext components.

Adds special jsifying and unjsifying of the value prop.

Inheritance

Constructors

ReactJsContextComponentFactoryProxy(ReactClass jsClass, {bool shouldConvertDomProps = true, bool isConsumer = false, bool isProvider = false})

Properties

alwaysReturnChildrenAsList bool
Whether the props.children should always be treated as a list or not. Default: false
finalinherited
hashCode int
The hash code for this object.
no setterinherited
isConsumer bool
final
isProvider bool
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
shouldConvertDomProps bool
Whether to automatically prepare props relating to bound values and event handlers via ReactDomComponentFactoryProxy.convertProps for consumption by React JS DOM components.
final
type ReactClass
The JS class used by this factory.
final

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
generateExtendedJsProps(Map props) JsMap
Returns a JavaScript version of the specified props, preprocessed for consumption by ReactJS and prepared for consumption by the react library internals.
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