buildButton method

Widget buildButton(
  1. BuildContext context,
  2. ZefyrToolbarAction action,
  3. {VoidCallback onPressed}
)

Builds toolbar button for specified action.

Returned widget is usually an instance of ZefyrButton.

Implementation

Widget buildButton(BuildContext context, ZefyrToolbarAction action,
    {VoidCallback onPressed});