FPickerControl.lifted constructor
const
FPickerControl.lifted({})
Creates a FPickerControl for controlling a picker using lifted state.
It does not prevent the user from scrolling to invalid indexes. To animate back to the provided indexes,
consider passing in onChange: (_) => setState(() {}).
The indexes represent the current indexes.
The onChange callback is invoked when the user changes the value.
The duration when animating to indexes from an invalid/different index. Defaults to 300 milliseconds.
The curve when animating to indexes from an invalid/different index. Defaults to Curves.easeOutCubic.
Implementation
const factory FPickerControl.lifted({
required List<int> indexes,
required ValueChanged<List<int>> onChange,
Duration duration,
Curve curve,
}) = _Lifted;