Questions tagged [flutter-slider]

52 questions
3
votes
2 answers

how zoom in carouselslider in flutter?

I have a widget that returns a carouselslider and I want to zoom and pinch the image this is my code: Widget myPicture() { List items = []; for (var i in widget.product.imageUrlList) { items.add( Image.network(i), ); } return…
asal rad
  • 43
  • 1
  • 5
3
votes
1 answer

How to add gradient as active color to Slider in Flutter

I have a problem with Slider in Flutter. I want to make an active color as gradient. And I didn't find any Sliders in Gradient Widgets
vpuh1
  • 31
  • 2
3
votes
2 answers

Synchronize page change of PageView and Slider in flutter

In my app, I have a PageView and a Slider. When I scroll the PageView, I expect the Slider to change its value, and when I slide the Slider I expect the page of the PageView to change as well. For this, I have a state to be the value of the Slider,…
Kise
  • 2,823
  • 1
  • 24
  • 43
2
votes
1 answer

How to Remove Glow Effect from Flutter Slider Widget?

With a Slider widget in Flutter, there is a glow effect that radiates from the "thumb" (selection dot) when touch down is active (when user is using the slider): This is a "material behavior" that I would like to disable for a more flat design. Is…
Nerdy Bunz
  • 6,040
  • 10
  • 41
  • 100
2
votes
0 answers

How to use GestureDetector with Slider onChange event to stop other events like page scroll in Flutter?

Main Issue:- Slider onChangeStart not work when used GestureDetector. GestureDetector( behavior: HitTestBehavior.translucent, child: Slider( value:…
swaroop suthar
  • 632
  • 3
  • 19
2
votes
2 answers

FlutterSlider range onDragging Missing parameter type

I am trying to use FlutterSlider (another_xlider). The following code in the IDE is flagging both lowerValue and upperValue with Missing parameter type. I am prompted to try adding an explicit type, or remove implicit-dynamic from your analysis…
Bill Turner
  • 869
  • 1
  • 13
  • 27
2
votes
1 answer

Flutter semi circle curve shape of slider

How to create track of slider as semi circle curve along with custom thumb, Please refer to image till now what I have created is below
Jugal Rudani
  • 33
  • 1
  • 4
1
vote
0 answers

I want to create a slider UI to manipulate opacity

I would like to make such a slider. The color OK be fixed at black. The current code is as follows @override Widget build(BuildContext context) { return Center( child: Slider( activeColor: ColorManager.blueColor, …
Tdayo
  • 269
  • 4
  • 11
1
vote
2 answers

I would like to know how to create a slider to change the text size

I would like to know how to create a slider to change the text size. This is the design. あ = A i want increase +0.05 My code is bad . because i can not made same design . CupertinoSlider( min: 0.1, max: 0.6, value:…
Tdayo
  • 269
  • 4
  • 11
1
vote
1 answer

Invert Slider's minimum and maximum value in Flutter

Slider( min: 0, max: 35, divisions: 15, value: _sliderValue.toDouble(), onChanged: _change1Slider) void _change1Slider(double e) => setState(() { _sliderValue = e; print((_sliderValue * base_number).floor() / base_number); …
Tdayo
  • 269
  • 4
  • 11
1
vote
1 answer

Edit an image brightness while using Slider in Flutter

I'd like to edit an image brightness while using Slider in Flutter. Edit the brightness, contrast, and so on.
1
vote
1 answer

Flutter: How to change length of Slider

I am trying to use a slider but it is not taking up the available space there is. I have no margins or paddings around it for it to not take up available space. I added a screenshot and my code below. I also want to make the track thinner and an…
I. Antonov
  • 625
  • 2
  • 14
  • 33
1
vote
0 answers

add marker that has position value above slider(or rangeslider)

How can I add marker (or checker) above slider? Also, I need information about the position value of the marker on slider. how could add red triangle on slider?
flow wind
  • 21
  • 4
1
vote
1 answer

how to get and update Rangeslider values from database?

I want to update the RangeSlider values from the database. but I don't know how to do this please help to show and update the RangeSlider values from the database. I have two values from the database for RangeSlider to start and end which i set in…
1
vote
0 answers

Flutter slider how to make tooltip with rounded edges

I have used flutter slider with RectangularSliderValueIndicatorShape() and the output is How can I convert the indicator shape to rounded edges Expected: Code for the value indicator shape is:- class ShowIndicator extends RoundSliderThumbShape { …
1
2 3 4