Skip to content

feat(adaptive): ✨ enhance adaptive transition for web and preserve custom transitions - #13

Merged
3d24rd0 merged 2 commits into
mainfrom
feat/enhance-adaptive-transition
Sep 28, 2026
Merged

3d24rd0 merged 2 commits into
mainfrom
feat/enhance-adaptive-transition

Conversation

@3d24rd0

@3d24rd0 3d24rd0 commented Sep 28, 2026

Copy link
Copy Markdown
Member

Description

  • Preserve Explicit Route Transitions: When a route declares an explicit non-default transition (e.g., `fade`, `scale`, `none`), `Browser.defaultAdaptiveTransition` now preserves it instead of overriding it with platform defaults.
  • Web & Desktop Optimization: Maps Web, Windows, and Linux to `RouteTransition.only_hero` by default, avoiding awkward lateral slide transitions on wide viewports while allowing Hero animations to shine.
  • Mobile Native Parallax & Motion: Retains `RouteTransition.slide_cupertino` on iOS/macOS and `RouteTransition.shared_axis_x` on Android/Fuchsia.
  • Integration Tests: Added unit and integration tests covering default adaptive resolution and explicit transition preservation across all target platforms.

Tests & Analysis

  • `dart analyze`: 0 issues found.
  • `flutter test`: 106/106 tests passing.

@3d24rd0
3d24rd0 merged commit c4aecf9 into main Sep 28, 2026
1 check passed
@3d24rd0
3d24rd0 deleted the feat/enhance-adaptive-transition branch September 28, 2026 06:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant