build abstract method

Widget build(
  1. BuildContext context,
  2. CommandBarItemDisplayMode 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.

Implementation

Widget build(BuildContext context, CommandBarItemDisplayMode displayMode);