Skip to content

A flutter volume controll slider for both Android & iOS.

License

Notifications You must be signed in to change notification settings

sophatvathana/FlutterVolumeSlider

 
 

Repository files navigation

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

About

A flutter volume controll slider for both Android & iOS.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Dart 41.1%
  • Ruby 24.1%
  • Kotlin 19.6%
  • Swift 10.9%
  • Objective-C 4.3%