build method

Widget build(
  1. TriggerFromItemComponentData<T> data
)

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

data Must not be null.

Used by SelectionMenu.

Implementation

Widget build(TriggerFromItemComponentData<T> data) {
  assert(builder != null, ComponentAssertionMessages.nullBuilderMethod);
  return builder!(data);
}