build method
The method uses the MenuComponent.builder method to actually build the Widget.
data
Must not be null.
Used by ListViewMenu.
Implementation
Widget build(MenuComponentData data) {
assert(builder != null, ComponentAssertionMessages.nullBuilderMethod);
return builder!(data);
}