SelectorDoubleWidget constructor
const
SelectorDoubleWidget({
- Key? key,
- required List<
SelectorItem> listLeft, - required List<
SelectorItem> listRight, - required double height,
- required double radius,
- required double itemExtent,
- required double padding,
- required double textSize,
- required String textLeft,
- required String textRight,
- required Color textColor,
- required Color textColorLeft,
- required Color textColorRight,
- required Color lineColor,
- required Color backgroundColor,
- required int? positionLeft,
- required int? positionRight,
- required dynamic callBack(
- SelectorItem? itemLeft,
- int? positionLeft,
- SelectorItem? itemRight,
- int? positionRight,
- double? diameterRatio,
- double? offAxisFraction,
- double? magnification,
- double? squeeze,
- Widget? selectionOverlay,
- GestureTapCallback? onTapLeft,
- 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);