v1.1.3 CupertinoPicker Error fix
This commit is contained in:
parent
a0108baffd
commit
3bc2b74f74
@ -1,5 +1,8 @@
|
|||||||
Workout Test and Diet 4 You Common Util Functions
|
Workout Test and Diet 4 You Common Util Functions
|
||||||
|
|
||||||
|
### Version 1.1.3
|
||||||
|
- CupertinoPicker error in Flutter 3.10 stable
|
||||||
|
|
||||||
### Version 1.1.2
|
### Version 1.1.2
|
||||||
- Flutter SDK < 4.0.0
|
- Flutter SDK < 4.0.0
|
||||||
|
|
||||||
|
@ -67,7 +67,7 @@ class NumberPickerWidgetState extends State<NumberPickerWidget> {
|
|||||||
scrollController: _scrollController,
|
scrollController: _scrollController,
|
||||||
useMagnifier: true,
|
useMagnifier: true,
|
||||||
magnification: 1.2,
|
magnification: 1.2,
|
||||||
diameterRatio: widget.diameterRatio!,
|
//diameterRatio: widget.diameterRatio!,
|
||||||
backgroundColor: Colors.transparent,
|
backgroundColor: Colors.transparent,
|
||||||
selectionOverlay: Container(),
|
selectionOverlay: Container(),
|
||||||
onSelectedItemChanged: (x) {
|
onSelectedItemChanged: (x) {
|
||||||
@ -80,10 +80,8 @@ class NumberPickerWidgetState extends State<NumberPickerWidget> {
|
|||||||
widget.onChange(value);
|
widget.onChange(value);
|
||||||
},
|
},
|
||||||
itemExtent: widget.itemExtent!,
|
itemExtent: widget.itemExtent!,
|
||||||
children: List.generate(
|
children: List.generate(widget.maxValue,
|
||||||
widget.maxValue,
|
(index) => Text('$index ${widget.unit}', style: TextStyle(color: widget.color, fontSize: widget.fontSize, fontWeight: widget.fontWeight))),
|
||||||
(index) => Text('$index ${widget.unit}',
|
|
||||||
style: TextStyle(color: widget.color, fontSize: widget.fontSize, fontWeight: widget.fontWeight))),
|
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
name: workouttest_util
|
name: workouttest_util
|
||||||
description: Workout Test app and web functions.
|
description: Workout Test app and web functions.
|
||||||
version: 1.1.2
|
version: 1.1.3
|
||||||
|
|
||||||
environment:
|
environment:
|
||||||
sdk: ">=2.18.6 <4.0.0"
|
sdk: ">=2.18.6 <4.0.0"
|
||||||
|
Loading…
Reference in New Issue
Block a user