backdrop method

Widget backdrop(
  1. BuildContext context,
  2. Widget dialog
)

Full-screen layer drawn behind the (already centred, scrollable) dialog. Styles with a special backdrop (blur, gradient) override this and must return dialog on top of their own layers.

Implementation

Widget backdrop(BuildContext context, Widget dialog) => dialog;