ColorInputController constructor
ColorInputController(
- ColorDerivative value
Creates a ColorInputController with the specified initial color.
The value parameter provides the initial color as a ColorDerivative.
The controller notifies listeners when the color changes through any
method calls or direct value assignment.
Example:
final controller = ColorInputController(
ColorDerivative.fromColor(Colors.green),
);
Implementation
ColorInputController(super.value);