Import
import 'package:flutter/widgets.dart';
import 'package:fluttyui/fluttyui.dart' as ui;API Reference
The declarations below match the current FluttyUI source. Types are shown without the optional ui. import prefix.
PushbackDrawer
const PushbackDrawer({
super.key,
required this.drawer,
required this.child,
this.controller,
this.onChanged,
this.placement = DrawerPlacement.start,
this.width = 320,
this.pageBorderRadius,
this.edgeSwipeWidth = 24,
this.enableGestures = true,
this.backgroundColor,
this.foregroundColor,
this.motion,
});| Parameter | Type | Required | Default |
|---|---|---|---|
key | Key? | No | null |
drawer | Widget | Yes | — |
child | Widget | Yes | — |
controller | PushbackDrawerController? | No | null |
onChanged | ValueChanged<bool>? | No | null |
placement | DrawerPlacement | No | DrawerPlacement.start |
width | double | No | 320 |
pageBorderRadius | double? | No | null |
edgeSwipeWidth | double | No | 24 |
enableGestures | bool | No | true |
backgroundColor | Color? | No | null |
foregroundColor | Color? | No | null |
motion | ComponentMotion? | No | null |
PushbackDrawerController of
static PushbackDrawerController of(BuildContext context);Application Setup
Place components under FluttyApp to provide theme, navigation, localization, and overlay defaults. Use theme tokens for shared appearance settings.
Source
lib/src/widgets/navigation/pushback_drawer/pushback_drawer.dart
This reference is generated from the PushbackDrawer declaration in the FluttyUI core checkout. The component catalog lists the other available building blocks.

