flutter-riverpod-snippets
flutter-riverpod-snippets copied to clipboard
Change type from `FutureOr` to `Future`
Description
This pull request updates the generated code type in the snippets from FutureOr to Future to align with the changes in the official Riverpod documentation.
Motivation
The official Riverpod documentation has been updated to use Future instead of FutureOr for asynchronous providers. To maintain consistency and avoid confusion, it is important to update the snippets in this extension to match the current best practices recommended by the Riverpod team.
Changes
Modified the snippets to generate code with Future return type instead of FutureOr.