DrawerBuilder typedef

DrawerBuilder = Widget Function(BuildContext context, Size extraSize, Size size, EdgeInsets padding, int stackIndex)

Builder function signature for drawer content.

Parameters:

  • context: build context for the drawer content
  • extraSize: additional size available due to backdrop transforms
  • size: total size constraints for the drawer
  • padding: safe area padding to respect
  • stackIndex: index in the drawer stack (for layered drawers)

Implementation

typedef DrawerBuilder = Widget Function(BuildContext context, Size extraSize,
    Size size, EdgeInsets padding, int stackIndex);