triggerBuilder property

Widget Function(BuildContext context, VoidCallback? onPressed) triggerBuilder
final

Builds the visual trigger.

The callback is null when the menu is disabled and should be wired to the trigger's tap handler.

Implementation

final Widget Function(BuildContext context, VoidCallback? onPressed)
triggerBuilder;