toggleBuilder property

Widget Function(BuildContext context, VoidCallback toggleMenu, bool isOpen)? toggleBuilder
final

A builder providing a toggle callback and open status to wire up interactive triggers (e.g. split buttons or custom chevrons).

Implementation

final Widget Function(
    BuildContext context, VoidCallback toggleMenu, bool isOpen)? toggleBuilder;