ContentArea constructor

ContentArea({
  1. required ScrollableWidgetBuilder? builder,
  2. ScrollController? scrollController,
  3. bool showScrollbar = false,
  4. double minWidth = 300,
})

Creates a widget that fills the body of the scaffold. The builder can be null to show an empty widget.

The width of this widget is automatically calculated in MacosScaffoldScope.

Implementation

ContentArea({
  required this.builder,
  this.scrollController,
  this.showScrollbar = false,
  this.minWidth = 300,
}) : super(key: const Key('macos_scaffold_content_area'));