WheelChooser<T> class
Constructors
-
WheelChooser({required dynamic onValueChanged(dynamic)?, required List? datas, TextStyle? selectTextStyle, TextStyle? unSelectTextStyle, int? startPosition = 0, double squeeze = 1.0, double itemSize = _defaultItemSize, double magnification = 1, double perspective = 0.01, double? listWidth, double? listHeight, FixedExtentScrollController? controller, bool horizontal = false, bool isInfinite = false, ScrollPhysics? physics})
-
-
WheelChooser.byController({required FixedExtentScrollController controller, required dynamic onValueChanged(dynamic)?, required List? datas, TextStyle? selectTextStyle, TextStyle? unSelectTextStyle, double squeeze = 1.0, double itemSize = _defaultItemSize, double magnification = 1, double perspective = 0.01, double? listWidth, double? listHeight, bool horizontal = false, bool isInfinite = false, ScrollPhysics? physics})
-
-
WheelChooser.choices({required dynamic onChoiceChanged(dynamic)?, required List<WheelChoice>? choices, TextStyle? selectTextStyle, TextStyle? unSelectTextStyle, int? startPosition = 0, double squeeze = 1.0, double itemSize = _defaultItemSize, double magnification = 1, double perspective = 0.01, double? listWidth, double? listHeight, FixedExtentScrollController? controller, bool horizontal = false, bool isInfinite = false, ScrollPhysics? physics})
-
-
WheelChooser.custom({required dynamic onValueChanged(dynamic)?, required List<Widget>? children, dynamic onChoiceChanged(dynamic)?, List? datas, int? startPosition = 0, double squeeze = 1.0, double itemSize = _defaultItemSize, double magnification = 1, double perspective = 0.01, double? listWidth, double? listHeight, FixedExtentScrollController? controller, bool horizontal = false, bool isInfinite = false, ScrollPhysics? physics})
-
-
WheelChooser.integer({required dynamic onValueChanged(dynamic)?, required int maxValue, required int minValue, int? initValue, int step = 1, TextStyle? selectTextStyle, TextStyle? unSelectTextStyle, double squeeze = 1.0, double itemSize = _defaultItemSize, double magnification = 1, double perspective = 0.01, double? listWidth, double? listHeight, FixedExtentScrollController? controller, bool horizontal = false, bool isInfinite = false, ScrollPhysics? physics, bool reverse = false})
-
-
WheelChooser.number({required dynamic onValueChanged(dynamic)?, required num maxValue, required num minValue, num? initValue, num step = 1, TextStyle? selectTextStyle, TextStyle? unSelectTextStyle, double squeeze = 1.0, double itemSize = _defaultItemSize, double magnification = 1, double perspective = 0.01, double? listWidth, double? listHeight, FixedExtentScrollController? controller, bool horizontal = false, bool isInfinite = false, ScrollPhysics? physics, dynamic onChoiceChanged(dynamic)?, bool reverse = false})
-