builder property

Widget Function(BuildContext context, VoidCallback toggle, bool open) builder
final

The key that opens it: call toggle on its press; open says whether the menu shows.

Implementation

final Widget Function(BuildContext context, VoidCallback toggle, bool open)
builder;