height_slider 1.4.0-nullsafety copy "height_slider: ^1.4.0-nullsafety" to clipboard
height_slider: ^1.4.0-nullsafety copied to clipboard

outdated

Customisable slider widget for retrieving a person's height.

Height Slider Widget for Flutter

Pub Version License: MIT

✨ Demo #

height slider

🚀 Usage #

class _MyHomePageState extends State<MyHomePage> {
  int height = 170;

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text(widget.title),
      ),
      body: Center(
        child: HeightSlider(
          height: height,
          onChange: (val) => setState(() => height = val),
          unit: 'cm', // optional
        ),
      ),
    );
  }
}

You can also use your own person SVG, by passing the path through the parameter personImagePath.

📝 License #

This project is MIT licensed.

24
likes
0
pub points
0%
popularity

Publisher

verified publishercovalsolutions.com

Customisable slider widget for retrieving a person's height.

Homepage
Repository (GitHub)
View/report issues

Documentation

Documentation

License

unknown (license)

Dependencies

flutter, flutter_svg

More

Packages that depend on height_slider