child property

Widget child
final

The glass, and anything else over the background.

The backdrop takes this child's size, so give it one that fills the space (a Stack of positioned children, a Center, a SizedBox.expand()), or the background shrinks with it.

Implementation

final Widget child;