Skip to content
pubscout

drawerbehavior

3.0.4, released a year ago by zariman.dev

A Flutter library for custom drawer behaviors like 3D rotation, scaling views, and multi-drawers.

WASM-ready
$ flutter pub add drawerbehavior
Source repository

What it does

Drawer behavior provides an extra behavior on drawers, such as moving views or scaling view's heights while the drawer is on slide. It supports multi-drawers (left and right), custom peek states, 3D effects, and animations.

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

Use it when

  • You want custom drawer animations like scaling or 3D rotation.
  • You need multiple side drawers on both left and right sides.

Skip it when

  • You only need the standard Material Design Drawer widget.
  • Your project uses a Flutter version lower than 3.22.0.

Strengths

  • Supports scale effects, 3D effects, and peek menu states.
  • Allows multiple drawers (left and right directions).

Weaknesses

  • Requires Flutter >= 3.22.0.
  • Limited to drawer navigation use-cases.

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
0

not documented

return DrawerScaffold(
  appBar: AppBar(
    title: Text("Drawer - Scale"),
  ),
  drawers: [
    SideDrawer(
      percentage: 0.6,
      menu: menu,
      direction: Direction.left,
    )
  ],
  builder: (context, id) => Center(child: Text("Page"))
);