https://github.com/heliomarpm/flutter-learn_riverpod
Sample with Riverpod
https://github.com/heliomarpm/flutter-learn_riverpod
flutter flutter-apps flutter-demo flutter-examples riverpod-examples
Last synced: about 1 month ago
JSON representation
Sample with Riverpod
- Host: GitHub
- URL: https://github.com/heliomarpm/flutter-learn_riverpod
- Owner: heliomarpm
- Created: 2024-02-13T03:40:03.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-02-13T16:19:03.000Z (over 2 years ago)
- Last Synced: 2025-08-31T04:22:02.287Z (10 months ago)
- Topics: flutter, flutter-apps, flutter-demo, flutter-examples, riverpod-examples
- Language: Dart
- Homepage:
- Size: 1.57 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# learn_riverpod
Pequeno estudo sobre o componente Riverpod
## Tutorial
[Flutter Map](https://www.youtube.com/watch?v=7Cp1GlmHTGE&t=15s)
[Exercises](https://youtu.be/qZ21x_ugJjA)
//! Riverpod set up
ProviderScope
//! Easy level
State Provider
ConsumerWidget
ref.watch(riverpod)
ref.read(riverppod.notifier).state
//! Hard level (with model)
ChangeNotifierProvider
ChangeNotifier
notifyListeners
ConsumerWidget
ref.watch(riverpod).name
ref.read(riverpod).changeName(newValue)
## Stack
- flutter sdk: '>=3.2.6 <4.0.0'
- flutter_riverpod: ^2.4.10
## Screenshots

## Getting Started
This project is a starting point for a Flutter application.
A few resources to get you started if this is your first Flutter project:
- [Lab: Write your first Flutter app](https://docs.flutter.dev/get-started/codelab)
- [Cookbook: Useful Flutter samples](https://docs.flutter.dev/cookbook)
For help getting started with Flutter development, view the
[online documentation](https://docs.flutter.dev/), which offers tutorials,
samples, guidance on mobile development, and a full API reference.