mobile_window_features 0.0.4 copy "mobile_window_features: ^0.0.4" to clipboard
mobile_window_features: ^0.0.4 copied to clipboard

PlatformAndroid

Plugin created to change some necessary configuration in the Android window to draw behind the status bar and the navigation bar.

mobile_window_features #

GitHub License GitHub Issues or Pull Requests Pub Version

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 #

drawing
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(
	...
	);
  }
1
likes
160
pub points
0%
popularity

Publisher

verified publishermerakidevelop.com.co

Plugin created to change some necessary configuration in the Android window to draw behind the status bar and the navigation bar.

Homepage
Repository (GitHub)
View/report issues

Topics

#status-bar #navigation-bar #transparent-status-bar #transparent-navigation-bar #android-window-flags

Documentation

API reference

License

Apache-2.0 (license)

Dependencies

flutter, plugin_platform_interface

More

Packages that depend on mobile_window_features