Daniel Augusto Jasmelino Filhodaniel-jasmelino.hashnode.dev·Sep 26, 2024Config DeepLink in Flutter (PT-BR)Introdução Neste artigo, vou mostrar como configurar deep links no Flutter, associando o aplicativo Android a um site e roteando corretamente as páginas usando o pacote go_router. Vamos explorar a configuração do AndroidManifest.xml, o processo de ve...1 like·97 readsFlutter Examples
Cherrie Kimcherrie.hashnode.dev·Jul 21, 2024[Flutter] 프로젝트 초기 설정 - 라우팅 (feat. Riverpod)앞서 말했든 이번 프로젝트에선 Riverpod를 활용할 예정이기에, 라우팅 기능이 내장되어있는 GetX와 달리 라우팅을 따로 설정해줘야 했다. 가장 인기있는 라우팅 라이브러리인 GoRouter를 활용하기로 결정했다. [링크] GoRouter를 사용하는 기본적 라우팅 예제는 다음과 같다: import 'package:go_router/go_router.dart'; // GoRouter configuration final _router = Go...87 readsFlutter
Dinko Marinacdinkomarinac.dev·Jun 3, 2024Enhancing 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 ...1.7K 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<...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...Go 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, ...Go 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...27 readsGo 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 ...28 readsGo 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...router
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...55 readsgo_router