Dinko Marinacdinkomarinac.dev·a day agoEnhancing Your Flutter Project with Typesafe PackagesIntroduction Flutter's popularity has surged thanks to its ability to build beautiful and performant cross-platform applications. Large projects with many teams and developers often face a lot errors on a smaller or a larger scale due to the size of ...Discuss·331 readsFlutter
Harish Kunchalaharishkunchala.com·May 22, 2024Go Router + Riverpod Tutorials Series 4: Role Based RedirectionNow let's take a look at redirection depending on user roles Source code: role_based_redirection Now, Let's update our files starting with : AuthNotifier and authProvider: This is the updated AuthNotifier class AuthNotifier extends StateNotifier<Map<...Discuss·3 likesGo Router with Riverpod TutorialFlutter
Harish Kunchalaharishkunchala.com·May 22, 2024Go Router + Riverpod Tutorial Series 5: Advanced Redirection with State RestorationFirst let's update our AuthNotifier to support state restoration Source code: redirection_with_state_restoration Prerequisites: First we are going to use flutter_secure_storage to store the state of the app. So lets add it our pubspec.yaml flutter pu...DiscussGo Router with Riverpod TutorialFlutter
Harish Kunchalaharishkunchala.com·May 21, 2024Go Router + Riverpod Tutorial Series 3: Nested Routes with AuthenticationFirst let's create the required screens. Settings Page: Settings page has two buttons: (Go to Account Settings, Logout). class SettingsPage extends ConsumerWidget { const SettingsPage({super.key}); @override Widget build(BuildContext context, ...DiscussGo Router with Riverpod TutorialFlutter
Harish Kunchalaharishkunchala.com·May 21, 2024Go Router + Riverpod Tutorial 2: Conditional Redirection with GuardsIn our previous article we have covered basic redirect. Now let's take a look at Conditional Redirection. What are Guards ? Guards: Guards are essentially functions that you can define to determine whether a particular redirection should happen or no...DiscussGo Router with Riverpod TutorialFlutter
Harish Kunchalaharishkunchala.com·May 21, 2024Go Router + Riverpod Tutorial Series 1: Basic RedirectionRedirection is one of the best features of Go Router. So in total we are going to look at 5 tutorials which explore redirection in increments of complexity. This article marks our first tutorial. Step 1: Define an AuthNotifier and authProvider using ...DiscussGo Router with Riverpod Tutorialgo_router
Harish Kunchalaharishkunchala.com·May 10, 2024The Ultimate Guide to GoRouter: Navigation in Flutter Apps Part -3 (Custom Transitions)Part -1: https://tinyurl.com/k3f64hwv Part -2: https://tinyurl.com/3azk6jjj Starting with custom transitions in GoRouter is a fantastic way to enhance the user experience of our Flutter application by adding visually appealing and smooth animations b...Discussrouter
Harish Kunchalaharishkunchala.com·May 9, 2024The Ultimate Guide to GoRouter: Navigation in Flutter Apps Part -2 (Nested Routers, Redirect, Guard, Error Handling)You can find the Part 1 here: https://tinyurl.com/k3f64hwv Dashboard Page - Nested Routes Example 1: Tabbed Content with Widgets Nested routes are useful for organizing complex user interfaces with multiple layers of navigation, such as a dashboard w...Discussgo_router
Harish Kunchalaharishkunchala.com·May 9, 2024The Ultimate Guide to GoRouter: Navigation in Flutter Apps Part -1 (Go Router Setup, Declarative Routing, Type Safety , Path and Query Params)As a Flutter developer, you're likely no stranger to the importance of navigation in your app. Whether you're building a simple to-do list or a complex e-commerce platform, navigation is a crucial aspect of providing a seamless user experience. In th...Discuss·37 readsDeclarativeRouting
Gautier Siclonapparencekit.hashnode.dev·Mar 26, 2024Flutter navigation redirection with Riverpod and GoRouterGo router is the most popular package to handle navigation in Flutter and is now maintained by the Flutter team.In this article, we will see how to use it with Riverpod to secure a route.For example, we will see how to redirect a user to the login pa...Discuss·1 likeFlutter