weight_slider 1.1.0

Flutter Android iOS

Customisable slider widget for retrieving a person's weight/mass.

Weight Slider Widget for Flutter

Pub Version License: MIT

✨ Demo #

weight slider

🚀 Usage #

class _MyHomePageState extends State<MyHomePage> {
  int weight = 70;

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text(widget.title),
      ),
      body: Center(
        child: WeightSlider(
            weight: weight,
            minWeight: 40,
            maxWeight: 120,
            onChange: (val) => setState(() => this.weight = val),
          ),
        ),
    );
  }
}

📝 License #

This project is MIT licensed.

4
likes
60
pub points
61%
popularity

Publisher

covalsolutions.com

Customisable slider widget for retrieving a person's weight/mass.

Homepage
Repository (GitHub)
View/report issues

Documentation

Documentation
API reference

License

MIT (LICENSE)

Dependencies

flutter, flutter_svg

More

Packages that depend on weight_slider