Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Flutter Riverpod For Complete Beginner
Rating: 4.4 out of 5(6 ratings)
1,036 students

Flutter Riverpod For Complete Beginner

Master Flutter State Management with Riverpod
Created byRichard Dewan
Last updated 9/2024
English
English [Auto],

What you'll learn

  • Flutter
  • Riverpod
  • Lint
  • Freezed

Course content

1 section21 lectures3h 54m total length
  • Source Code & Support
  • Setup IDE7:38

    Install Visual Studio Code and set up flutter tooling with essential extensions like Blockman, flutter pod snippets, and error lens to accelerate Riverpod app development.

  • Getting Started With Riverpod - StateProvider30:17

    Learn Flutter Riverpod from scratch, a beginner-friendly state management solution. Harness StateProvider with ProviderScope, ref, watch, and notifier concepts to build a simple counter.

  • Notifier Provider10:51

    Learn to use the notifier provider with a counter notifier to manage int state, migrating from the deprecated state provider, and implement increment, decrement, and reset.

  • Async Notifier Provider19:11

    Learn to use the async notifier and async notifier provider in Flutter Riverpod 2.0 to initialize state asynchronously, and guard async calls while handling data, loading, and error states.

  • Auto Dispose Provider19:23

    Explore auto dispose notifier in Riverpod and learn how caching and catching work to keep or dispose data based on listeners, keep alive, and on cancel events.

  • Custom State Class18:29

    Learn to generate a user data model and a custom state using the freezed package, configure build runner, and wire them into a Riverpod notifier for streamlined state management.

  • Provider Listener11:57

    Learn how to use Riverpod's provider listener to react to add user events, update state, and navigate between the user list and add user screens.

  • Filter Provider State Change9:59

    Learn to listen to specific Riverpod provider state changes using selectors, handle errors with dialogs, and optimize rebuilds for performance.

  • Provider Listen Manual4:26

    Learn how to use the listen manual in Flutter Riverpod to respond to provider changes in init state and other lifecycle events, not inside the build method.

  • Read vs Watch vs Listen4:40

    Explore the read, watch, and listen methods in riverpod for flutter, where watch triggers widget rebuild on provider changes, read reads values, and listen handles side effects.

  • Consumer Widget11:54

    Explore using the consumer widget and consumer stateful widget in flutter riverpod, convert stateless widgets, and use ref to watch or read a provider.

  • Provider Refresh and Invalidate8:02

    Explore how ref.invalidate and ref.refresh affect Riverpod provider state, including immediate disposal, next-frame refresh, and how reading triggers rebuilds and disposals.

  • Riverpod Generator10:12

    Learn how the Riverpod generator uses code generation and a part file with Riverpod annotation to replace manual provider creation.

  • Dependency Injection14:37

    Learn to implement dependency injection with Flutter Riverpod by wiring a user repository and fetch use case using constructor injection and providers, including code generation options.

  • Passing parameters15:30

    Learn how to pass parameters to Riverpod providers using the provider family for single args and the Riverpod code generator for multiple args, with auto dispose and practical example.

  • Future Provider11:02

    Learn how Riverpod’s future provider handles asynchronous tasks like API calls and database initialization, returning a list of users while managing loading and error states.

  • Stream Provider7:34

    Learn how to use the stream provider in Riverpod to listen to a live stream, emitting a new user every second, enabling real-time UI for chat or Firebase-like apps.

  • GoRouter Provider8:55

    Learn how to integrate go router with Flutter Riverpod by adding the go router package, configuring a go router provider, and wiring routes to coin status and coin price screens.

  • Riverpod Lint9:23

    Explore Riverpod lint, a dev tool that enforces provider rules, offers warnings, quick fixes, and refactoring options to convert widgets to consumer widgets and align generated providers with dependencies.

  • What's Next?0:06

Requirements

  • Basic of Flutter and Dart

Description

Unlock the power of Flutter and take your app development skills to the next level with "Flutter Riverpod for Complete Beginners"! This course is designed for those who want to master state management in Flutter using Riverpod, one of the most efficient and scalable packages available today.

Whether you're new to Flutter or looking to enhance your understanding of state management, this course covers everything you need to know—from the basics of Flutter to integrating Riverpod for managing app-wide state. We’ll guide you through practical, real-world examples, ensuring you gain a solid foundation in Riverpod while building responsive and dynamic apps.

By the end of this course, you’ll learn how to efficiently manage state, handle dependencies, and create reactive applications that are clean and maintainable. You’ll also explore key concepts like Providers, Consumers, StateNotifiers, and asynchronous state handling with StreamProvider and FutureProvider.

Whether you're working on small projects or complex, scalable applications, this course equips you with the skills to build robust apps with confidence. You’ll also gain hands-on experience building real apps, making the learning process engaging and interactive. Join us and get started with Riverpod—an essential tool for any Flutter developer aiming to create powerful and responsive applications!

Who this course is for:

  • Flutter Developer