stateActions static method

FormPickerStateActions stateActions(
  1. String stateName
)

Provides access to state management actions for this picker widget.

Use this method to get a FormPickerStateActions instance that allows external components to interact with the picker's state, such as clearing the selection or programmatically setting a value.

stateName should match the state identifier used when registering the widget.

Implementation

static FormPickerStateActions stateActions(String stateName) =>
    FormPickerStateActions(stateName);