RotaryDial constructor

const RotaryDial({
  1. required ValueSetter<int> onDigitSelected,
  2. RotaryDialThemeData? rotaryDialThemeData,
  3. Duration duration = RotaryDurations.extraLarge,
  4. Curve curve = Curves.decelerate,
  5. 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,
});