RotaryDial constructor
const
RotaryDial({
- required ValueSetter<
int> onDigitSelected, - RotaryDialThemeData? rotaryDialThemeData,
- Duration duration = RotaryDurations.extraLarge,
- Curve curve = Curves.decelerate,
- Key? key,
Creates a rotary dial widget.
The rotaryDialThemeData parameter allows the user to specify a custom theme for the rotary dial interface.
The duration parameter controls the duration of animations used in the rotary dial interface.
The curve parameter controls the curve used in the animations.
Implementation
const RotaryDial({
required this.onDigitSelected,
this.rotaryDialThemeData,
this.duration = RotaryDurations.extraLarge,
this.curve = Curves.decelerate,
super.key,
});