Skip to content
pubscout

modal_side_sheet

0.0.1, released 5 years ago by an unverified publisher

A Flutter package to use Material side sheets.

WASM-ready
$ flutter pub add modal_side_sheet
Source repository

What it does

Provides components for both modal and standard side sheets in Flutter applications following Material Design guidelines. Includes the showModalSideSheet function and the BodyWithSideSheet widget.

AI-written summary of version 0.0.1, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You need to display content in a modal side sheet that blocks interaction with the rest of the screen.
  • You need standard side sheets that co-exist with the primary UI region on tablets and desktops.

Skip it when

  • You require complex custom transitions not supported by the package.
  • You do not use Material Design components in your app.

Strengths

  • Supports both modal and standard side sheets.
  • Cross-platform support including Android, iOS, web, macOS, Linux, and Windows.

Weaknesses

  • Limited documentation beyond basic usage.
  • Initial version 0.0.1 with potential missing features.

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
0

not documented

showModalSideSheet(
    context: context,
    ignoreAppBar: false,
    body: ListView.builder(
        itemBuilder: (context, index) {
            return ListTile(
                leading: Icon(Icons.face),
                title: Text("I am on $index index"),
                trailing: Icon(Icons.safety_divider),
            );
        },
    ),);

Alternatives

Packages that do the same job and could replace modal_side_sheet.