Skip to content

Commit

Permalink
chore: dart format on slider
Browse files Browse the repository at this point in the history
  • Loading branch information
nank1ro committed Nov 27, 2024
1 parent d8a9e22 commit fcb91fb
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions lib/src/components/slider.dart
Original file line number Diff line number Diff line change
Expand Up @@ -171,10 +171,12 @@ class _ShadSliderState extends State<ShadSlider> {
mouseCursor: widget.enabled
? effectiveMouseCursor
: effectiveDisabledMouseCursor,
onChanged: widget.enabled ? (v) {
controller.value = v;
widget.onChanged?.call(v);
} : null,
onChanged: widget.enabled
? (v) {
controller.value = v;
widget.onChanged?.call(v);
}
: null,
autofocus: widget.autofocus,
focusNode: widget.focusNode,
onChangeStart: widget.onChangeStart,
Expand Down

0 comments on commit fcb91fb

Please sign in to comment.