flutteradvanceddrawer

March 10, 2025 ยท View on GitHub

An advanced drawer widget, that can be fully customized with size, text, color, radius of corners.

Advanced Drawer States

Drawer Open StateDrawer Closed State
Advanced Drawer Open StateAdvanced Drawer Closed State

AdvancedDrawer Parameters

ParameterDescriptionTypeDefault
childScreen widgetWidgetrequired
drawerDrawer widgetWidgetrequired
controllerWidget controllerAdvancedDrawerController
backdropColorBackdrop colorColor
backdropBackdrop widget for custom backgroundWidget
openRatioOpening ratiodouble0.75
openScaleOpening child scale factordouble0.85
animationDurationAnimation durationDuration300ms
animationCurveAnimation curveCurveCurves.easeInOut
childDecorationChild container decorationBoxDecorationShadow, BorderRadius
animateChildDecorationIndicates that [childDecoration] might be animated or not.booltrue
rtlOpeningOpening from Right-to-left.boolfalse
disabledGesturesDisable gestures.boolfalse
initialDrawerScaleHow large the drawer segment should scale from.double0.75
drawerSlideRatioHow far the drawer segment should slide with the content.double0
drawerCloseSemanticLabelSemantic label for the close drawer button.String'Close drawer'

Preview

Preview TapPreview Gesture
Advanced Drawer Tap AnimationAdvanced Drawer Gestures