This is a draggable bottom sheet plugin, like the one in the app version of Youtube.

Features

You can add a draggable bottom sheet to your app, like the one in the Youtube app.

Showing and hiding sheets is not yet supported.

shrink_sheet_layout demo

Getting started

Feel free to add to your existing Flutter apps. No preparation is required other than a Flutter app project.

Import the package by running the following command on the command line.

dart pub add shrink_sheet_layout

Then use it in the build function as shown in the example in the Example column.

Additional information

In addition to being my first package release, this is also the first package I have made for myself. Don't expect quick maintenance.