Skip to content

Commit

Permalink
removed label
Browse files Browse the repository at this point in the history
  • Loading branch information
abdelaziz-mahdy committed Nov 30, 2023
1 parent e7b7cb6 commit 5934185
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ class _MyHomePageState extends State<MyHomePage> {
const SizedBox(
width: 10,
),

SpeedControlSlider(
slowestSpeedDuration: const Duration(milliseconds: 300),
fastestSpeedDuration: const Duration(milliseconds: 1),
Expand All @@ -102,7 +103,7 @@ class _MyHomePageState extends State<MyHomePage> {
setState(() {
this.timeBetweenChanges = timeBetweenChanges;
});
})
}),
],
),
body: Center(
Expand Down
2 changes: 1 addition & 1 deletion lib/widgets/speed_control_slider.dart
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ class SpeedControlSlider extends StatelessWidget {
value * totalDurationRange;
onChanged(Duration(milliseconds: durationValue.round()));
},
label: 'Speed',
// label: 'Speed',
// activeColor: Colors.blue,
// inactiveColor: Colors.blue.withOpacity(0.3),
),
Expand Down

0 comments on commit 5934185

Please sign in to comment.