adoptsWidgetSize property

bool get adoptsWidgetSize

Whether the component takes its size from the laid out widget, which is the case when no size was passed to the constructor.

Implementation

bool get adoptsWidgetSize => _adoptsWidgetSize;