v1.5.0flutter_advanced_drawer
Ein erweiterter Drawer-Widget, der vollständig an Größe, Text, Farbe und Eckenradius angepasst werden kann.
437Likes 450030-Tage-Downloads160Pub-Punkte
AndroidiOSWebmacOSWindowsLinux
https://pub.dev/packages/flutter_advanced_drawer
{"sdk":"flutter"}1.0.4Englischer Projektschnappschuss. Aktuelle Inhalte auf GitHub.
An advanced drawer widget, that can be fully customized with size, text, color, radius of corners.
| Drawer Open State | Drawer Closed State |
|---|---|
| Advanced Drawer Open State | Advanced Drawer Closed State |
| Parameter | Description | Type | Default |
|---|---|---|---|
child |
Screen widget | Widget | required |
drawer |
Drawer widget | Widget | required |
controller |
Widget controller | AdvancedDrawerController | |
backdropColor |
Backdrop color | Color | |
backdrop |
Backdrop widget for custom background | Widget | |
openRatio |
Opening ratio | double | 0.75 |
openScale |
Opening child scale factor | double | 0.85 |
animationDuration |
Animation duration | Duration | 300ms |
animationCurve |
Animation curve | Curve | Curves.easeInOut |
childDecoration |
Child container decoration | BoxDecoration | Shadow, BorderRadius |
animateChildDecoration |
Indicates that [childDecoration] might be animated or not. | bool | true |
rtlOpening |
Opening from Right-to-left. | bool | false |
disabledGestures |
Disable gestures. | bool | false |
initialDrawerScale |
How large the drawer segment should scale from. | double | 0.75 |
drawerSlideRatio |
How far the drawer segment should slide with the content. | double | 0 |
drawerCloseSemanticLabel |
Semantic label for the close drawer button. | String | 'Close drawer' |
| Preview Tap | Preview Gesture |
|---|---|
| Advanced Drawer Tap Animation | Advanced Drawer Gestures |