buildChild method
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;
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.
@protected
Widget? buildChild() => widget.child;