developer library
This library can be used to create custom SubValues.
It allows access to SubValueState as well as the various internal function types.
Classes
-
SubValueState<
T> - The State of a SubValue. Can be extended for special cases where a SubValue with a Mixin is desired.
Typedefs
-
SubValueBuild<
T> = Widget Function(BuildContext context, T value) - Called to build the child of a SubValue with the created Value.
-
SubValueBuilderCreate<
T> = T Function(BuildContext context) - Called to create the value for a SubValue with BuildContext.
-
SubValueBuilderDispose<
T> = void Function(BuildContext context, T value) - Called to dispose the Value of a SubValue with BuildContext.
-
SubValueBuilderKeys
= List<
Object?> Function(BuildContext context) - Called to check whether to recreate the value of a SubValue with BuildContext.
-
SubValueBuilderUpdate<
T> = T Function(BuildContext context, T previous) - Called to update the value for a SubValue with BuildContext.
-
SubValueCreate<
T> = T Function() - Called to create the value for a SubValue.
-
SubValueDispose<
T> = void Function(T value) - Called to dispose the Value of a SubValue.
-
SubValueKeys
= List<
Object?> - Called to check whether to recreate the value of a SubValue.
-
SubValueUpdate<
T> = T Function(T previous) - Called to update the value for a SubValue.