capturedTheme property
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;
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.
final Theme? capturedTheme;