Spoiler widget for flutter

立即下载 ️⬇️

Spoiler widget for flutter.

Spoiler Actions Status

Spoiler widget for flutter.

HowTo:

child: Spoiler(
            openCurve: Curves.elasticOut,
            closeCurve: Curves.elasticIn,
            header: Text("Tools", style: TextStyle(color: Colors.white)),
            child: GameControl()

Spoiler preview gif

TODO:

  • 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.

Github主页 👉Hecatoncheir/spoiler

0%