mobile_window_features 0.0.4 mobile_window_features: ^0.0.4 copied to clipboard
Plugin created to change some necessary configuration in the Android window to draw behind the status bar and the navigation bar.
mobile_window_features #
This plugin was created to change some necessary configuration in the Android window to draw behind the status bar and the navigation bar.
Features #
- Draw behind the status bar
- Draw behind the navigation bar
- Change Android window flags
How to use it #
import 'package:mobile_window_features/mobile_window_features.dart';
import 'package:mobile_window_features/status_navigation_bars_options.dart';
class UnboundedPage extends StatelessWidget {
const UnboundedPage({super.key});
@override
Widget build(BuildContext context) {
MobileWindowFeatures.setScreenProperties(
screenLimits: ScreenLimits.pageDrawBehindTheStatusBarNavigationBar,
statusBarColor: Colors.transparent,
statusBarTheme: StatusBarThemeMWF.darkStatusBar,
navigationBarColor: Colors.transparent,
navigationBarTheme: NavigationBarThemeMWF.darkNavigationBar);
return Scaffold(
...
);
}