build method

The method uses the MenuPositionAndSizeComponent.builder method to actually build the Widget.

data Must not be null.

Used by SelectionMenu.

Implementation

MenuPositionAndSize build(MenuPositionAndSizeComponentData data) {
  assert(builder != null, ComponentAssertionMessages.nullBuilderMethod);
  return builder!(data);
}