flutter_volume_slider 1.0.6

Flutter Android iOS

A flutter widget to control volume in each Android & iOS natively. Just add the dependency and call FlutterVolumeSlider() widget where you want.

FlutterVolumeSlider #

pub package

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,
          ),
        ),
      ),
    );
  }

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,
          ),
        ),
      ),
    );
  }

3
likes
80
pub points
61%
popularity

A flutter widget to control volume in each Android & iOS natively. Just add the dependency and call FlutterVolumeSlider() widget where you want.

Repository (GitHub)
View/report issues

Documentation

API reference

Uploader

samybeng@gmail.com

License

MIT (LICENSE)

Dependencies

flutter, provider

More

Packages that depend on flutter_volume_slider