Inheritable<T>.mutable constructor
const
Inheritable<T>.mutable ({
- required ValueChanged<
T> onMutate, - required T value,
- Key key,
- Widget child,
Mutable variant of Inheritable, users are to provide onMutate
to allow
value to change.
However dependents have no say whether a supplied value should be updated or not.
Implementation
const factory Inheritable.mutable({
required ValueChanged<T> onMutate,
required T value,
Key key,
Widget child,
}) = _MutableInheritable<T>;