disableSelfAlignment property
Disabling the Alignment widget, this modification ensures that when a snack bar appears, it overlays the entire screen according to its height, making widgets in that portion inaccessible. Setting disableSelfAlignment to true disables self-alignment, allowing access to background widgets while the snack bar is visible.
Implementation
final bool disableSelfAlignment;