ValueState<T>.activation constructor
ValueState<T>.activation ({
- T? activated,
- T? unactivated,
- T? disabled,
Implementation
factory ValueState.activation({
T? activated,
T? unactivated,
T? disabled,
}) {
return ValueState<T>(
primary: unactivated,
secondary: activated,
disable: disabled,
);
}