Knob constructor

const Knob({
  1. Key? key,
  2. required double radius,
  3. required double innerRadiusRatio,
  4. required double outerRadiusRatio,
  5. required void onIcon1RotatedCallback(
    1. String
    ),
  6. required void onIcon2RotatedCallback(
    1. String
    ),
  7. required IconData icon1Data,
  8. required IconData icon2Data,
  9. required Color iconColor,
  10. void setDurationCallback(
    1. String
    )?,
  11. BoxDecoration? knobDecoration,
})

Implementation

const Knob(
    {Key? key,
    required this.radius,
    required this.innerRadiusRatio,
    required this.outerRadiusRatio,
    required this.onIcon1RotatedCallback,
    required this.onIcon2RotatedCallback,
    required this.icon1Data,
    required this.icon2Data,
    required this.iconColor,
    this.setDurationCallback,
    this.knobDecoration})
    : super(key: key);