fix: Patching Screen draw-behind Navigation Bar (#1945)

Co-authored-by: surya-technovert <surya.m@technovert.com>
This commit is contained in:
Snehith
2024-07-29 23:28:40 +05:30
committed by GitHub
parent 96a21a5564
commit f1b25d09da
2 changed files with 101 additions and 105 deletions

View File

@ -49,12 +49,8 @@ class NavigationViewModel extends IndexTrackingViewModel {
SystemChrome.setEnabledSystemUIMode(SystemUiMode.edgeToEdge);
SystemChrome.setSystemUIOverlayStyle(
SystemUiOverlayStyle(
const SystemUiOverlayStyle(
systemNavigationBarColor: Colors.transparent,
systemNavigationBarIconBrightness:
DynamicTheme.of(context)!.theme.brightness == Brightness.light
? Brightness.dark
: Brightness.light,
),
);
}