Height Slider Widget for Flutter

You are currently viewing Height Slider Widget for Flutter
Height Slider

Height Slider Widget for Flutter


Height Slider
Height Slider


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

  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.


This is developed by coval-solutions
Download this project from the below link.
You can visit original source page from the below link:

See also  Country Code Picker in Flutter

Spread the love

Leave a Reply