Skip to content

feat(navigation): customizable route transitions + release 7.0.3#1059

Merged
jacobaraujo7 merged 3 commits into
masterfrom
feat/route-transitions
Jun 23, 2026
Merged

feat(navigation): customizable route transitions + release 7.0.3#1059
jacobaraujo7 merged 3 commits into
masterfrom
feat/route-transitions

Conversation

@jacobaraujo7

Copy link
Copy Markdown
Contributor

Release 7.0.3

Bumps flutter_modular → 7.0.3 and ships the route transitions feature.
Both flutter_modular 7.0.3 and flutter_modular_docs_mcp 0.2.3 have already
been published to pub.dev.

Customizable route transitions

  • route(transition:) and the new app-wide ModularApp(defaultTransition:) now
    accept any PageTransition — an open contract that builds the route's Page.
  • Three ways to supply one:
    • the TransitionType presets (material, fade, none) — each value now
      is a PageTransition, so existing transition: TransitionType.fade keeps working;
    • CustomTransition — inline convenience: pass a transitionsBuilder (same
      signature as PageRouteBuilder) and optionally tune
      duration/reverseDuration/opaque/barrierColor/barrierDismissible/fullscreenDialog;
    • implement PageTransition yourself for full control of the Page
      (e.g. CupertinoPage swipe-back, fullscreenDialog, shared-axis).
  • App-wide default: ModularApp.defaultTransition (default material) applies to
    every route that doesn't declare its own. Precedence: route-local → app default → material.
    route(transition:) now defaults to null (inherit) instead of forcing material.

Docs MCP — 0.2.3

  • Re-embeds the reworked navigation page documenting the Transitions section above.

Verification

  • flutter analyze: clean · flutter test: 61 passing
  • MCP dart analyze: clean · dart test: 12 passing
  • Both packages published (pub.dev) and the local MCP binary recompiled.

Commits

  • feat(navigation): customizable route transitions with app-wide default
  • chore(docs-mcp): release v0.2.3
  • chore: release 7.0.3

🤖 Generated with Claude Code

jacobaraujo7 and others added 3 commits June 23, 2026 19:10
Introduce the open PageTransition contract: TransitionType presets now
implement it, CustomTransition covers the just-an-animation case, and any
PageTransition implementation can own the whole Page. ModularRoute.transition
becomes nullable so ModularApp.defaultTransition can act as the fallback
(precedence: route-local -> app default -> material).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Re-embed the navigation docs with the reworked Transitions section
(PageTransition, CustomTransition, app-wide defaultTransition).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@jacobaraujo7 jacobaraujo7 merged commit b2a09f7 into master Jun 23, 2026
2 of 3 checks passed
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