controller property

ComponentController<T>? get controller

The controller for managing this component's value programmatically.

When provided, the controller takes precedence over initialValue and manages the component's state externally. This is useful for form validation, programmatic value changes, and state persistence.

Implementation

ComponentController<T>? get controller;