Repository navigation
Conversation
…s, and loading overlays - Introduce BrowserBottomSheet (ModalBottomSheet), BrowserCenterSheet (ModalCenterSheet), BrowserFullSheet (ModalFullSheet), and BrowserResponsiveSheet (ModalResponsiveSheet) - Add ModalHeader with drag pill, title, close action, and dynamic scroll shadow - Add ModalCenterParams with small, medium, large presets and custom sizing - Add Sheet facade helper methods (Sheet.bottom, Sheet.center, Sheet.full, Sheet.responsive) - Add Browser.showLoading and Browser.dismissLoading - Add maxWidth, margin, and dismissDirection support to Banner and OverlayManager - Add 14 comprehensive unit and widget tests for sheets and overlays - Bump version to 0.3.3 and update CHANGELOG and README
…ls/loading examples - Export overlay_manager.dart from browser.dart - Add ExampleBottomModal and ExampleCenterModal demonstrating pure-widget ModalBase in example/ - Add Sheet.route and OverlayManager to example app - Add UI buttons in example HomeScreen for Sheet.bottom, Sheet.center, Sheet.responsive, Browser.showLoading, and constrained banners - Add extensive unit/widget tests for ModalCenterParams, ModalBaseSafeArea, Sheet facade, EmptyHeader, ModalHeader rebuild, and adjustSize edge cases - Achieve 92.5% global line coverage across 50 files and 125/125 passing tests
…, and overlay tips
… and document standalone usage
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary of Changes in v0.4.0
1. Concrete Sheets & Modals Architecture
BrowserBottomSheet(aliased asModalBottomSheet): Draggable bottom sheet with automatic size adjustment (adjustSize) and native swipe-to-dismiss.BrowserCenterSheet(aliased asModalCenterSheet): Centered modal dialog withModalCenterParamsbox constraints and vertical gesture absorption.BrowserFullSheet(aliased asModalFullSheet): Full-viewport modal sheet for immersive workflows.BrowserResponsiveSheet(aliased asModalResponsiveSheet): Responsive adapter switching between bottom sheet on compact viewports (< breakpoint) and centered modal on wide viewports (>= breakpoint).Sheet:Sheet.bottom,Sheet.center,Sheet.full,Sheet.responsive, andSheet.route.2. Modal Headers & Parameters
ModalHeader: Header with drag pill handle, title, close button (maybePop), and dynamic elevation shadow on scroll.EmptyHeader: Zero-height header delegate.ModalCenterParams: Size presets (.small(),.medium(),.large()) and custom constraints.ModalBaseSafeArea: Configurable safe area handling (.none(),.all(),.cleanTopSafeArea(),.adaptive()).3. Overlays, Loaders & Banners
Browser.showLoading/Browser.dismissLoading: Global non-dismissible loading overlays decoupled from route stack.Banner&Browser.enqueueBanner: ResponsivemaxWidth,margin, anddismissDirectionconfiguration.OverlayManager: Documented standalone support for non-Browser applications while noting automatic injection inBrowser.4. Testing & Code Quality
flutter test).coolint: ^3.0.0-rc.1(dart analyze).package:flutter/widgets.dartimplementation without Material or Cupertino dependencies inlib/.