spoiler
spoiler widget for flutter.
howto:
child: spoiler(
opencurve: curves.elasticout,
closecurve: curves.elasticin,
header: text("tools", style: textstyle(color: colors.white)),
child: gamecontrol()
todo:
- [x] custom header.
- [ ] custom open header and custom close header.
- [ ] on open callback with header height and child height arguments.
- [ ] on close callback with header height and child height arguments.
- [ ] get only header height for spoiler in spoiler widgets.
- [ ] make spoilers widget with calback that has all headers height and all childs height.
- [ ] add
reverse
parameter for change order of header and child. - [ ] add horizontal spoiler widget.
Comments are closed.