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

discontinued
outdated

a dank way to navigate

yeet 👌 #

yeet


A dank way to navigate.


I'm still working on the architecture so nothing works yet, but here's what it should look like.

Example:

Yeeter(
    childen: [
        Yeeter(
            path: '/login',
            view: LoginView(),
        ),
        Yeeter(
            children: [
                Yeeter(
                    path: '/',
                    view: (_) => HomeView(),
                ),
                Yeeter(
                    path: '/profile'
                    view: (_) => ProfileView(),
                    children: [
                        Yeeter(
                            path: 'posts', // going /profile/posts
                            view: (_) => PostsView(),
                        ),
                    ]
                ),
            ],
        ),
        Yeeter(
            path: r'/user/:id(\d+)',
            parsers: {
                'id': (id) => int.parse(id);
            },
            view: (params) => UserView(id: params['id']),
        ),
    ],
);
82
likes
0
points
69
downloads

Publisher

verified publisheridenti.app

Weekly Downloads

a dank way to navigate

License

unknown (license)

Dependencies

flutter, path_to_regexp

More

Packages that depend on yeet