I've took some time to experiment with this package.
It's surely interesting, but I think the package is still young and I've found a little hard to achieve some things.
Example: I want to wrap a group of screens with a Provider (a BlocProvider to be precise, but it could've been a RepositoryProvider, a Listenable, anything that I want to be visibile from the context).
For this, I have to group the routes into a sealed class group, so I can provide a KaiselShell of this sealed subclass, just to be able to use the chromeBuilder.
But now I've spawned another navigator, since I have a KaiselShell with a single shell, and the default back buttons from the Scaffolds are broken.
Maybe I'm trying to apply the wrong pattern here, I don't know, but providing things with context is a basic thing to do in Flutter.
I've took some time to experiment with this package.
It's surely interesting, but I think the package is still young and I've found a little hard to achieve some things.
Example: I want to wrap a group of screens with a Provider (a BlocProvider to be precise, but it could've been a RepositoryProvider, a Listenable, anything that I want to be visibile from the context).
For this, I have to group the routes into a sealed class group, so I can provide a KaiselShell of this sealed subclass, just to be able to use the chromeBuilder.
But now I've spawned another navigator, since I have a KaiselShell with a single shell, and the default back buttons from the Scaffolds are broken.
Maybe I'm trying to apply the wrong pattern here, I don't know, but providing things with context is a basic thing to do in Flutter.