scrollableBuilder property
final
Builds the primary contents of the sheet route with a provided ScrollController.
If the scrollable content built by this builder uses the provided ScrollController, then when a downward drag is applied to the scrollable area while the content is scrolled to the top, the drag to dismiss behavior of the sheet will be triggered.
This example shows how to show a Cupertino Sheet with scrollable content.
link
To create a local project with this code sample, run:
flutter create --sample=cupertino.CupertinoSheetRoute.scrollableBuilder.1 mysample
Implementation
final ScrollableWidgetBuilder? scrollableBuilder;