SelectorDoubleWidget constructor

const SelectorDoubleWidget({
  1. Key? key,
  2. required List<SelectorItem> listLeft,
  3. required List<SelectorItem> listRight,
  4. required double height,
  5. required double radius,
  6. required double itemExtent,
  7. required double padding,
  8. required double textSize,
  9. required String textLeft,
  10. required String textRight,
  11. required Color textColor,
  12. required Color textColorLeft,
  13. required Color textColorRight,
  14. required Color lineColor,
  15. required Color backgroundColor,
  16. required int? positionLeft,
  17. required int? positionRight,
  18. required dynamic callBack(
    1. SelectorItem? itemLeft,
    2. int? positionLeft,
    3. SelectorItem? itemRight,
    4. int? positionRight,
    ),
  19. double? diameterRatio,
  20. double? offAxisFraction,
  21. double? magnification,
  22. double? squeeze,
  23. Widget? selectionOverlay,
  24. GestureTapCallback? onTapLeft,
  25. GestureTapCallback? onTapRight,
})

Implementation

const SelectorDoubleWidget(
    {Key? key,
    required this.listLeft,
    required this.listRight,
    required this.height,
    required this.radius,
    required this.itemExtent,
    required this.padding,
    required this.textSize,
    required this.textLeft,
    required this.textRight,
    required this.textColor,
    required this.textColorLeft,
    required this.textColorRight,
    required this.lineColor,
    required this.backgroundColor,
    required this.positionLeft,
    required this.positionRight,
    required this.callBack,
    this.diameterRatio,
    this.offAxisFraction,
    this.magnification,
    this.squeeze,
    this.selectionOverlay,
    this.onTapLeft,
    this.onTapRight})
    : super(key: key);