/this is slider from settings
value: sliderValue ??= 125,
label: sliderValue.toString(),
divisions: 23,
onChanged: (newValue) {
setState(
() => sliderValue = newValue,
);
},
//this is container in homepage
Container(
width: MediaQuery.of(context).size.width,
height: MediaQuery.of(context).size.height * 0.858,
decoration: BoxDecoration(
color: Color(0xFFEEEEEE),
how can i change the color of container, and secondary color of the app based on slider value?