capturedTheme property

Theme? capturedTheme
final

The theme to apply to the dialog content.

Captured from the caller's build context at push time so the dialog inherits the correct theme even though it renders above the navigator.

Implementation

final Theme? capturedTheme;