mirror of
https://github.com/rrousselGit/riverpod.git
synced 2025-08-15 10:11:27 +08:00

This PR adds "{@template}" to the source code of the documentation, and provides the latest Korean translation (include comments in code) of the following pages. - introduction: 2 pages - essentials: 11 pages - from_provider: 2 pages - advanced: 1 page Thanks --------- Co-authored-by: Remi Rousselet <darky12s@gmail.com>
9 lines
248 B
Dart
9 lines
248 B
Dart
import 'package:hooks_riverpod/hooks_riverpod.dart';
|
|
|
|
/* SNIPPET START */
|
|
// {@template provider}
|
|
// An eagerly initialized provider.
|
|
// {@endtemplate}
|
|
final exampleProvider = FutureProvider<String>((ref) async => 'Hello world');
|
|
/* SNIPPET END */
|