flutter_artist_commons_ui 0.10.0
flutter_artist_commons_ui: ^0.10.0 copied to clipboard
A collection of reusable, enterprise-grade UI components and adaptive dialog layouts tailored for the FlutterArtist framework ecosystem.
0.10.0 #
- Update Dependencies.
0.9.9 #
- Update Dependencies.
0.9.8 #
- FIX: Resolved an issue where tapping outside the
FaDialog(modal barrier area) failed to dismiss the window due to oversized web pointer interceptor bounds.
0.9.7 #
- Integrated pointer interceptor platform bridge to shield dialog overlays without sacrificing multi-platform support.
0.9.6 #
Added #
- Integrated
pointer_interceptor(v0.10.0) dependency into the core UI layer to handle platform-view event hijacking.
Why This Solution Is Needed (Root Cause) #
- The Platform View Bug: On Flutter Web/Mobile, native HTML elements (such as
HtmlElementViewused byYoutubeer_iframe) are rendered in a separate layer outside the Flutter canvas. - Event Hijacking: When a modal overlay or dialog is opened over a running video, user taps/clicks on the dialog pass straight through the Flutter canvas and are swallowed by the underlying YouTube iframe element. This causes unintended play/pause actions, making the dialog feel "invisible" or "transparent" to pointer interactions.
- The Interceptor Shield: By wrapping elements in a
PointerInterceptor, the framework injects a native browser-level invisible element directly above the iframe. This shield absorbs and intercepts all rogue click events, ensuring they are correctly processed by Flutter's UI layer instead of bleeding downward.
️ Application in FaDialog #
- This protective solution has been natively baked into
FaDialog. - Every dialog extending or utilizing the core
FaDialogarchitecture—including global utility modals (showConfirmDialog,showConfirmDeleteDialog,showYesNoCancelDialog) and development inspectors (DebugAppInspectorDialog)—is now automatically immune to HTML element event bleeding out-of-the-box.
0.9.5 #
- remove calculatePreferredDialogSize, calculateDialogSize.
0.9.4 #
- Refactored code architecture and standardized component naming conventions across the SDK.
- Added comprehensive API documentation and descriptive code comments (
///) to maximize compatibility with the package registry analyzer (pana). - Optimized internal layout structures and enhanced code maintainability.
0.9.3+1 #
- Update Dependencies.
0.9.3 #
- Update Dependencies.
0.9.2 #
- Update Dependencies.
0.9.1 #
- Initial release.