Handle sharing intents

This commit is contained in:
Juan Gilsanz Polo
2024-03-23 02:10:08 +01:00
parent 9ef870f3e6
commit 601e4fb49b
10 changed files with 114 additions and 9 deletions

View File

@@ -0,0 +1,16 @@
import 'package:riverpod_annotation/riverpod_annotation.dart';
part 'receive_sharing_intent_url.provider.g.dart';
@Riverpod(keepAlive: true)
class ReceiveSharingIntentUrl extends _$ReceiveSharingIntentUrl {
@override
String? build() {
return null;
}
void setValue(String? value) {
state = value;
ref.notifyListeners();
}
}