buttonPressed method

void buttonPressed(
  1. BuildContext context
)

Override this method to provide custom button pressed behavior.

Implementation

void buttonPressed(BuildContext context) => presentDialog(context);