height slider
a customisable height-slider for flutter.
�� 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),
),
),
);
}
}
Comments are closed.