buildChild method

  1. @protected
Widget buildChild ()
@protected

The menu item contents.

Used by the build method.

By default, this returns PopupMenuItem.child. Override this to put something else in the menu entry.

Implementation

@protected
Widget buildChild() => widget.child;