Last updated:
0 purchases
flutter volume slider
FlutterVolumeSlider #
A flutter widget to control volume in each Android & iOS.
How to use : #
Just add FlutterVolumeSlider Widget anywhere you want to control volume.
Works Properly on Android and iOS.
Display Horizontally :
...
@override
Widget build(BuildContext context) {
return MaterialApp(
home: Scaffold(
appBar: AppBar(
title: const Text('Plugin example app'),
),
body: Center(
child: FlutterVolumeSlider(
display: Display.HORIZONTAL,
sliderActiveColor: Colors.blue,
sliderInActiveColor: Colors.grey,
),
),
),
);
}
copied to clipboard
Display Vertically :
...
@override
Widget build(BuildContext context) {
return MaterialApp(
home: Scaffold(
appBar: AppBar(
title: const Text('Plugin example app'),
),
body: Center(
child: FlutterVolumeSlider(
display: Display.VERTICAL,
sliderActiveColor: Colors.blue,
sliderInActiveColor: Colors.grey,
),
),
),
);
}
copied to clipboard
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.