StateHookJSArray<T extends JSAny> class
final
State hook for lists of JS objects.
Use this instead of useState when state is a list of JS objects.
Avoids the jsify/dartify roundtrip issue where List<JSObject> becomes
List<Object?> after conversion.
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
set(
List< T> newValue) → void -
Updates value to
newValue. -
setWithUpdater(
List< T> computeNewValue(List<T> oldValue)) → void -
Updates value to the return value of
computeNewValue. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited