WidgetPart constructor

const WidgetPart(
  1. Widget widget
)

Creates a WidgetPart with the specified widget.

Implementation

const WidgetPart(this.widget);