-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
- Loading branch information
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,8 @@ | ||
import 'package:image_picker_macos/image_picker_macos.dart'; | ||
import 'package:riverpod/riverpod.dart'; | ||
import 'package:riverpod_annotation/riverpod_annotation.dart'; | ||
|
||
part 'image_picker_for_io.g.dart'; | ||
|
||
@Riverpod(keepAlive: true) | ||
ImagePickerMacOS imagePicker(ImagePickerRef ref) => ImagePickerMacOS(); | ||
ImagePickerMacOS imagePicker(Ref ref) => ImagePickerMacOS(); |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,8 @@ | ||
import 'package:image_picker_for_web/image_picker_for_web.dart'; | ||
import 'package:riverpod/riverpod.dart'; | ||
import 'package:riverpod_annotation/riverpod_annotation.dart'; | ||
|
||
part 'image_picker_for_web.g.dart'; | ||
|
||
@Riverpod(keepAlive: true) | ||
ImagePickerPlugin imagePicker(ImagePickerRef ref) => ImagePickerPlugin(); | ||
ImagePickerPlugin imagePicker(Ref ref) => ImagePickerPlugin(); |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
export './image_picker/image_picker_for_io.dart' | ||
if (dart.library.js_interop) './image_picker/image_picker_for_web.dart' | ||
show ImagePickerRef, imagePicker, imagePickerProvider; | ||
show imagePicker, imagePickerProvider; |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
import 'package:riverpod/riverpod.dart'; | ||
import 'package:riverpod_annotation/riverpod_annotation.dart'; | ||
import 'package:shared_preferences/shared_preferences.dart'; | ||
|
||
part 'shared_preferences.g.dart'; | ||
|
||
@Riverpod(keepAlive: true) | ||
SharedPreferences sharedPreferences(SharedPreferencesRef ref) => | ||
throw UnimplementedError(); | ||
SharedPreferences sharedPreferences(Ref ref) => throw UnimplementedError(); |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,9 @@ | ||
import 'package:common_data/auth.dart'; | ||
import 'package:riverpod/riverpod.dart'; | ||
import 'package:riverpod_annotation/riverpod_annotation.dart'; | ||
|
||
part 'on_auth_state_change_provider.g.dart'; | ||
|
||
@Riverpod(keepAlive: true) | ||
Stream<AuthChangeEvent> onAuthStateChange(OnAuthStateChangeRef ref) => | ||
Stream<AuthChangeEvent> onAuthStateChange(Ref ref) => | ||
ref.watch(authRepositoryProvider).onAuthStateChange; |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,9 @@ | ||
import 'package:common_data/session.dart'; | ||
import 'package:riverpod/riverpod.dart'; | ||
import 'package:riverpod_annotation/riverpod_annotation.dart'; | ||
|
||
part 'session_provider.g.dart'; | ||
|
||
@Riverpod(keepAlive: true) | ||
Future<List<Session>> session(SessionRef ref) async => | ||
Future<List<Session>> session(Ref ref) async => | ||
ref.watch(sessionRepositoryProvider).fetchSessions(); |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.