Questions tagged [flutter-slider]

52 questions
0
votes
1 answer

Is there a way to add elevation or shadow to the thumb and track of a Slider in flutter?

I am working on a Slider in flutterenter image description here, I am copying the design in the picture, but I can't add an elevation or shadow to the thumb and track of the slider. Please have a look if you guys can help. PS: incase the link…
squid3ox
  • 11
  • 3
0
votes
1 answer

Custom Slider with Img in Flutter

I try to return and image when i change the value on the slider but a some this is the code slider the image is the template that i want to show on the screen import 'package:flutter/material.dart'; import…
0
votes
1 answer

how to use slider and timer together in Flutter

I am very new for Flutter AND I need your small help. I want to use images in slider which I already created no problem in that but I need one advice I want to slide that slider using timer. How can i do that please help. I a, stuck on this problem…
0
votes
1 answer

Flutter slider color

How do we change color of slider circular icon when its inactive? When its in progress i can see property to change that but when i hit stop song and it goes back to normal it changes to gray. I am not setting anywhere gray not sure how do change…
Akshay
  • 657
  • 2
  • 19
  • 38
0
votes
1 answer

Flutter - Custom slider value indicator. How to get the slider's center position

I am trying to implement a custom progress indicator for flutter slider. As for now, I have the given code that draws the indicator. class InsideSliderValueIndicator extends SliderComponentShape { @override Size getPreferredSize(bool isEnabled,…
Sunny Pelletier
  • 329
  • 2
  • 13
-1
votes
1 answer

Custom increments in slider in flutter?

i want to increase the value of radius like 0 miles,1 miles,2 miles,3 miles,4 miles,5 miles,10 miles,15 miles,20 miles,30 miles,50 miles in slider in flutter ? Any suggestion how to do it ? This is my code min: 0, max: 50, divisions: 50, value:…
-2
votes
1 answer

The argument type 'dynamic Function(bool?)?' can't be assigned to the parameter type 'void Function(RangeValues)?'.dartargument_type_not_assignable

import 'package:flutter/material.dart'; class OpeningHoursSettings extends StatelessWidget { final Function(bool?)? onSliderChanged; const OpeningHoursSettings({ super.key,required this.onSliderChanged, }); ///..... RangeSlider…
1 2 3
4