edge_to_edge_system_ui 0.1.0-dev.1 copy "edge_to_edge_system_ui: ^0.1.0-dev.1" to clipboard
edge_to_edge_system_ui: ^0.1.0-dev.1 copied to clipboard

Flutter plugin providing an opinionated Edge-to-Edge system UI controller with a Kotlin implementation for Android.

edge_to_edge_system_ui #

A small Flutter plugin that exposes an Android Kotlin implementation to control edge-to-edge system UI (status/navigation bars) and surface insets. Designed as a lightweight plugin suitable for inclusion on pub.dev.

Features

  • Query system inset sizes and whether edge-to-edge mode is enabled
  • Enable/disable edge-to-edge at runtime
  • Apply status/navigation bar colors and icon brightness

Usage

  1. Add the plugin to your pubspec (local or on pub.dev)
  2. Call EdgeToEdgeSystemUIKotlin.instance.initialize() on app startup
  3. Use getSystemInfo(), enableEdgeToEdge(), disableEdgeToEdge() and setSystemUIStyle(...) as needed.

Example code is included in the example/ folder.

Publishing

  • Update publish_to in pubspec.yaml to point to https://pub.dev.
  • Run flutter pub publish --dry-run and flutter pub publish when ready.

Notes

  • The plugin only implements Android in Kotlin currently. iOS and other platforms are no-ops.
  • The plugin returns inset sizes in logical pixels (dp) to match Flutter's MediaQuery.
1
likes
0
points
449
downloads

Publisher

verified publishermohirlab.uz

Weekly Downloads

Flutter plugin providing an opinionated Edge-to-Edge system UI controller with a Kotlin implementation for Android.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter

More

Packages that depend on edge_to_edge_system_ui

Packages that implement edge_to_edge_system_ui