InputPart.widget constructor

const InputPart.widget(
  1. Widget widget
)

Creates a custom widget part.

Implementation

const factory InputPart.widget(Widget widget) = WidgetPart;