-1
How do I reset the margins of a slider in the flutter
Slider(
value: valueHolder.toDouble(),
min: 0,
max: 100,
divisions: 100,
activeColor: Colors.green,
inactiveColor: Colors.grey,
label: '${valueHolder.round()}',
onChanged: (double newValue) {
setState(() {
valueHolder = newValue.round();
});
},
semanticFormatterCallback: (double newValue) {
return '${newValue.round()}';
}
),
I remember that in conventional android I had to do something to remove the edges on a button similar now in flutter do not know how it should be done.