BackdropBuilder typedef
BackdropBuilder =
Widget Function(BuildContext context, Widget child, Animation<double> animation, int stackIndex)
Builder function for drawer backdrop transformations.
Creates a widget that wraps the backdrop content, applying transformations during drawer animations.
Parameters:
context(BuildContext): Build contextchild(Widget): Backdrop widget to transformanimation(Animation<double>): Animation value from 0 (closed) to 1 (open)stackIndex(int): Index of the drawer in the stack
Returns the transformed backdrop widget.
Implementation
typedef BackdropBuilder = Widget Function(BuildContext context, Widget child,
Animation<double> animation, int stackIndex);