ios_swipe 0.0.1 copy "ios_swipe: ^0.0.1" to clipboard
ios_swipe: ^0.0.1 copied to clipboard

Ios 26 swipe - go_router.

πŸŒ€ ios_swipe #

A lightweight Flutter package that brings iOS-style swipe-back navigation (like in native iPhone apps) to your Flutter pages β€” especially useful when using GoRouter.


✨ Features #

  • 🧭 Smooth iOS-style back-swipe gesture
  • πŸ’« Seamless integration with GoRouter
  • 🧱 Fully customizable transition
  • πŸ”₯ Works on both Android and iOS

πŸš€ Getting Started #

Add this package directly from GitHub:

dependencies:
  ios_swipe:
    git:
      url: https://github.com/exeshka/ios_swipe.git
      ref: main

βΈ»

🧩 Usage Example #

Integrate with GoRouter easily: #

import 'package:flutter/material.dart';
import 'package:go_router/go_router.dart';
import 'package:ios_swipe/ios_swipe.dart';

final goRouter = GoRouter(
  initialLocation: FirstPage.path,
  routes: [
    GoRoute(
      path: FirstPage.path,
      name: FirstPage.name,
      pageBuilder: (context, state) => IosSwipePage(
        key: state.pageKey,
        child: const FirstPage(),
      ),
    ),
    GoRoute(
      path: SecondPage.path,
      name: SecondPage.name,
      pageBuilder: (context, state) => IosSwipePage(
        key: state.pageKey,
        child: const SecondPage(),
      ),
      routes: [
        GoRoute(
          path: OtherScreen.path,
          name: OtherScreen.name,
          pageBuilder: (context, state) => IosSwipePage(
            key: state.pageKey,
            child: const OtherScreen(),
          ),
        ),
      ],
    ),
  ],
);

βΈ»

πŸ“± Platform Support #

iOS βœ… #

Android βœ… #

Web ❌ #

Desktop ⚠️ (Experimental) #

βΈ»

❀️ Contributing

Pull requests and improvements are always welcome! If you find a bug or have an idea for improvement β€” feel free to open an issue.

βΈ»

πŸ“„ License #

This package is distributed under the MIT License. See the LICENSE file for more information.

1
likes
110
points
0
downloads

Publisher

unverified uploader

Weekly Downloads

Ios 26 swipe - go_router.

Homepage

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on ios_swipe