build abstract method

Widget build(
  1. BuildContext context,
  2. ToolbarItemDisplayMode displayMode
)

Builds the final widget for this display mode for this item. Sub-classes implement this to build the widget that is appropriate for the given display mode (in toolbar or overflowed).

Implementation

Widget build(BuildContext context, ToolbarItemDisplayMode displayMode);