Bar constructor

const Bar({
  1. Key? key,
  2. required double position,
  3. required double widthSlider,
  4. required double heightSlider,
  5. required GestureDragUpdateCallback callback,
  6. required GestureDragEndCallback? callbackEnd,
  7. required bool isRight,
})

Implementation

const Bar({
  super.key,
  required this.position,
  required this.widthSlider,
  required this.heightSlider,
  required this.callback,
  required this.callbackEnd,
  required this.isRight,
});