Skip to content

Commit 4a993c5

Browse files
Update packages/zeta_flutter/lib/src/components/slider/slider.dart
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 17129a6 commit 4a993c5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • packages/zeta_flutter/lib/src/components/slider

packages/zeta_flutter/lib/src/components/slider/slider.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ class _ZetaSliderState extends State<ZetaSlider> {
104104
} else {
105105
newValue = number.clamp(widget.min, widget.max).toInt();
106106
if (number != newValue) {
107-
_inputController.text = newValue.toInt().toString();
107+
_inputController.text = newValue.toString();
108108
}
109109
}
110110
widget.onChange?.call(newValue.toDouble());

0 commit comments

Comments
 (0)