Skip to content
Back to skills

Flutter Getx Navigation

ASecurity

Implement context-less navigation, named routes, and middleware using GetX. Use when building navigation with GetX routing in Flutter.

  • 584 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added June 6, 2026
developmentapi

Works with

  • api

Security analysis

A100/100

Pro scans all 4 files and shows the line behind each finding

Scanned June 6, 2026

npx -y skills add HoangNguyen0403/agent-skills-standard --skill flutter-getx-navigation --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Flutter Getx Navigation?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Flutter Getx Navigation
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/hoangnguyen0403-flutter-getx-navigation/badge)](https://www.skillsdirectory.com/skills/hoangnguyen0403-flutter-getx-navigation)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: flutter-getx-navigation
description: Implement context-less navigation, named routes, and middleware using GetX. Use when building navigation with GetX routing in Flutter.
metadata:
  triggers:
    files:
    - '**/app_pages.dart'
    - '**/app_routes.dart'
    keywords:
    - GetPage
    - Get.to
    - Get.off
    - Get.offAll
    - Get.toNamed
    - GetMiddleware
---
# GetX Navigation

## **Priority: P0 (CRITICAL)**


## Guidelines

- **Named Routes**: Use `Get.toNamed('/path')`. Define routes in `AppPages`.
- **Navigation APIs**:
 - `Get.to()`: Push new route.
 - `Get.off()`: Replace current route.
 - `Get.offAll()`: Clear stack and push.
 - `Get.back()`: Pop route/dialog/bottomSheet.
- **Bindings**: Link routes with `Bindings` for automated lifecycle.
- **Middleware**: Implement `GetMiddleware` for Auth/Permission guards.

## Code Example

See [AppPages Config](references/app-pages.md) for route definition and controller usage patterns.

## Anti-Patterns

- **Navigator Context**: not use `Navigator.of(context)` with GetX.
- **Hardcoded Routes**: Use `Routes` constant class.
- **Direct Dialogs**: Use `Get.dialog()` and `Get.snackbar()`.

## References

- [AppPages Config](references/app-pages.md)
- [Middleware Implementation](references/middleware-example.md)

## Related Topics

getx-state-management | feature-based-clean-architecture

Files in this skill

  • SKILL.md1.3 KB
  • evals/evals.json1.9 KB
  • references/app-pages.md1005 B
  • references/middleware-example.md653 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in development →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.