Component2BridgeImpl class
A basic bridge implementation compatible with Component2.
See Component2Bridge for more info.
- Inheritance
-
- Object
- Component2Bridge
- Component2BridgeImpl
Constructors
- Component2BridgeImpl()
-
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
forceUpdate(
Component2 component, SetStateCallback? callback) → void -
override
-
jsifyPropTypes(
covariant Component2 component, covariant Map< String, Function> propTypes) → JsMap -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setState(
Component2 component, Map? newState, SetStateCallback? callback) → void -
override
-
setStateWithUpdater(
Component2 component, StateUpdaterCallback stateUpdater, SetStateCallback? callback) → void -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
bridgeFactory(
Component2 _) → Component2BridgeImpl - Returns a const bridge instance suitable for use with any component.