flutter_edge_guard 0.2.1
flutter_edge_guard: ^0.2.1 copied to clipboard
Understand and fix modern Android edge-to-edge UI problems. An edge-to-edge protection layer and diagnostics engine for Flutter.
Changelog #
0.2.1 #
- Fix: Removed yellow fallback text styling from
EdgeGuardExemptexample screen by injecting a transparentScaffoldancestor.
0.2.0 #
- Initial stable release of
flutter_edge_guard. - Auto-Fix Layer:
EdgeGuardApp: AMaterialAppdrop-in replacement that applies global edge-to-edge protection without requiring edits to existing screens.EdgeGuardExempt: A wrapper to opt individual screens out of global padding (e.g., for full-bleed splash screens or photo viewers).
- Core Provider:
EdgeGuard: GranularMediaQueryextraction and scoped inset propagation.EdgeGuardConfig: Customizable runtime configuration flags.
- Smart Protection Widgets:
EdgeGuardBottomAction: Prevents bottom buttons from clipping beneath navigation bars without double-padding.EdgeGuardAnimatedAction: Smooth keyboard/IME awareness animations for bottom actions.EdgeGuardBottomSheet: Edge-safe modal bottom sheet wrapper.EdgeGuardScrim: Dynamic status and navigation bar contrast scrims.
- Developer & Diagnostics Tools:
EdgeGuardInspector: Floating debug inspector overlay with real-time issue detection and JSON export.EdgeGuardZoneOverlay: Color-coded visual overlay for system insets and gesture zones.EdgeGuardDiagnostics: Comprehensive programmatic analyzer for gesture collisions, keyboard overlaps, contrast, iOS Dynamic Island/notch insets, foldables, and accessibility.
- CLI Doctor:
flutter_edge_guard:doctor: Static analysis CLI with--jsonand--fail-onfor CI/CD pipelines.