File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
best_flutter_ui_templates/lib/hotelBooking Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -3,10 +3,10 @@ import 'package:flutter/material.dart';
33import 'hotelAppTheme.dart' ;
44
55class SliderView extends StatefulWidget {
6- final Function (double ) onChnagedistValue ;
6+ final Function (double ) onChangedDistValue ;
77 final double distValue;
88
9- const SliderView ({Key key, this .onChnagedistValue , this .distValue}) : super (key: key);
9+ const SliderView ({Key key, this .onChangedDistValue , this .distValue}) : super (key: key);
1010 @override
1111 _SliderViewState createState () => _SliderViewState ();
1212}
@@ -54,7 +54,7 @@ class _SliderViewState extends State<SliderView> {
5454 distValue = value;
5555 });
5656 try {
57- widget.onChnagedistValue (distValue);
57+ widget.onChangedDistValue (distValue);
5858 } catch (e) {}
5959 },
6060 min: 0 ,
Original file line number Diff line number Diff line change @@ -210,7 +210,7 @@ class _FiltersScreenState extends State<FiltersScreen> {
210210 ),
211211 SliderView (
212212 distValue: distValue,
213- onChnagedistValue : (value) {
213+ onChangedDistValue : (value) {
214214 distValue = value;
215215 },
216216 ),
You can’t perform that action at this time.
0 commit comments