Skip to main content

tv_volume_slider 0.0.1 copy "tv_volume_slider: ^0.0.1" to clipboard
tv_volume_slider: ^0.0.1 copied to clipboard

A customizable TV-style volume slider widget for Flutter.

example/lib/main.dart

import 'package:flutter/material.dart';
import 'package:tv_volume_slider/tv_volume_slider.dart';

void main() => runApp(const ExampleApp());

class ExampleApp extends StatelessWidget {
  const ExampleApp({super.key});

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        backgroundColor: Colors.black,
        body: Center(
          child: TvVolumeSlider(
            width: 300,
            height: 36,
            knobColor: Colors.red,
            trackColor: Colors.grey.withOpacity(0.2),
            tickColor: Colors.white,
            onChanged: (value) => print('Volume: $value'),
          ),
        ),
      ),
    );
  }
}
1
likes
140
points
7
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

A customizable TV-style volume slider widget for Flutter.

Homepage

License

MIT (license)

Dependencies

flutter

More

Packages that depend on tv_volume_slider