✨ Relationship UI
This commit is contained in:
parent
1e10ca626b
commit
f4dbfef4fe
@ -222,6 +222,7 @@
|
|||||||
"friendRequestDeclined": "Declined friend request from {}",
|
"friendRequestDeclined": "Declined friend request from {}",
|
||||||
"requestExpiredIn": "Expired in {}",
|
"requestExpiredIn": "Expired in {}",
|
||||||
"friendSentRequest": "Sent Friend Requests",
|
"friendSentRequest": "Sent Friend Requests",
|
||||||
|
"friendSentRequestEmpty": "No sent friend requests",
|
||||||
"friendSentRequestHint": {
|
"friendSentRequestHint": {
|
||||||
"one": "{} friend request sent",
|
"one": "{} friend request sent",
|
||||||
"other": "{} friend requests sent"
|
"other": "{} friend requests sent"
|
||||||
|
@ -14,7 +14,7 @@ part 'websocket.freezed.dart';
|
|||||||
part 'websocket.g.dart';
|
part 'websocket.g.dart';
|
||||||
|
|
||||||
@freezed
|
@freezed
|
||||||
class WebSocketState with _$WebSocketState {
|
abstract class WebSocketState with _$WebSocketState {
|
||||||
const factory WebSocketState.connected() = _Connected;
|
const factory WebSocketState.connected() = _Connected;
|
||||||
const factory WebSocketState.connecting() = _Connecting;
|
const factory WebSocketState.connecting() = _Connecting;
|
||||||
const factory WebSocketState.disconnected() = _Disconnected;
|
const factory WebSocketState.disconnected() = _Disconnected;
|
||||||
@ -72,9 +72,7 @@ class WebSocketService {
|
|||||||
log('[WebSocket] Trying connecting to $url');
|
log('[WebSocket] Trying connecting to $url');
|
||||||
try {
|
try {
|
||||||
if (kIsWeb) {
|
if (kIsWeb) {
|
||||||
_channel = WebSocketChannel.connect(
|
_channel = WebSocketChannel.connect(Uri.parse('$url?tk=$atk'));
|
||||||
Uri.parse(url)..queryParameters['tk'] = atk,
|
|
||||||
);
|
|
||||||
} else {
|
} else {
|
||||||
_channel = IOWebSocketChannel.connect(
|
_channel = IOWebSocketChannel.connect(
|
||||||
Uri.parse(url),
|
Uri.parse(url),
|
||||||
|
@ -13,11 +13,17 @@ part of 'websocket.dart';
|
|||||||
// dart format off
|
// dart format off
|
||||||
T _$identity<T>(T value) => value;
|
T _$identity<T>(T value) => value;
|
||||||
/// @nodoc
|
/// @nodoc
|
||||||
mixin _$WebSocketState {
|
mixin _$WebSocketState implements DiagnosticableTreeMixin {
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@override
|
||||||
|
void debugFillProperties(DiagnosticPropertiesBuilder properties) {
|
||||||
|
properties
|
||||||
|
..add(DiagnosticsProperty('type', 'WebSocketState'))
|
||||||
|
;
|
||||||
|
}
|
||||||
|
|
||||||
@override
|
@override
|
||||||
bool operator ==(Object other) {
|
bool operator ==(Object other) {
|
||||||
@ -29,7 +35,7 @@ bool operator ==(Object other) {
|
|||||||
int get hashCode => runtimeType.hashCode;
|
int get hashCode => runtimeType.hashCode;
|
||||||
|
|
||||||
@override
|
@override
|
||||||
String toString() {
|
String toString({ DiagnosticLevel minLevel = DiagnosticLevel.info }) {
|
||||||
return 'WebSocketState()';
|
return 'WebSocketState()';
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -45,7 +51,7 @@ $WebSocketStateCopyWith(WebSocketState _, $Res Function(WebSocketState) __);
|
|||||||
/// @nodoc
|
/// @nodoc
|
||||||
|
|
||||||
|
|
||||||
class _Connected implements WebSocketState {
|
class _Connected with DiagnosticableTreeMixin implements WebSocketState {
|
||||||
const _Connected();
|
const _Connected();
|
||||||
|
|
||||||
|
|
||||||
@ -53,6 +59,12 @@ class _Connected implements WebSocketState {
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@override
|
||||||
|
void debugFillProperties(DiagnosticPropertiesBuilder properties) {
|
||||||
|
properties
|
||||||
|
..add(DiagnosticsProperty('type', 'WebSocketState.connected'))
|
||||||
|
;
|
||||||
|
}
|
||||||
|
|
||||||
@override
|
@override
|
||||||
bool operator ==(Object other) {
|
bool operator ==(Object other) {
|
||||||
@ -64,7 +76,7 @@ bool operator ==(Object other) {
|
|||||||
int get hashCode => runtimeType.hashCode;
|
int get hashCode => runtimeType.hashCode;
|
||||||
|
|
||||||
@override
|
@override
|
||||||
String toString() {
|
String toString({ DiagnosticLevel minLevel = DiagnosticLevel.info }) {
|
||||||
return 'WebSocketState.connected()';
|
return 'WebSocketState.connected()';
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -77,7 +89,7 @@ String toString() {
|
|||||||
/// @nodoc
|
/// @nodoc
|
||||||
|
|
||||||
|
|
||||||
class _Connecting implements WebSocketState {
|
class _Connecting with DiagnosticableTreeMixin implements WebSocketState {
|
||||||
const _Connecting();
|
const _Connecting();
|
||||||
|
|
||||||
|
|
||||||
@ -85,6 +97,12 @@ class _Connecting implements WebSocketState {
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@override
|
||||||
|
void debugFillProperties(DiagnosticPropertiesBuilder properties) {
|
||||||
|
properties
|
||||||
|
..add(DiagnosticsProperty('type', 'WebSocketState.connecting'))
|
||||||
|
;
|
||||||
|
}
|
||||||
|
|
||||||
@override
|
@override
|
||||||
bool operator ==(Object other) {
|
bool operator ==(Object other) {
|
||||||
@ -96,7 +114,7 @@ bool operator ==(Object other) {
|
|||||||
int get hashCode => runtimeType.hashCode;
|
int get hashCode => runtimeType.hashCode;
|
||||||
|
|
||||||
@override
|
@override
|
||||||
String toString() {
|
String toString({ DiagnosticLevel minLevel = DiagnosticLevel.info }) {
|
||||||
return 'WebSocketState.connecting()';
|
return 'WebSocketState.connecting()';
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -109,7 +127,7 @@ String toString() {
|
|||||||
/// @nodoc
|
/// @nodoc
|
||||||
|
|
||||||
|
|
||||||
class _Disconnected implements WebSocketState {
|
class _Disconnected with DiagnosticableTreeMixin implements WebSocketState {
|
||||||
const _Disconnected();
|
const _Disconnected();
|
||||||
|
|
||||||
|
|
||||||
@ -117,6 +135,12 @@ class _Disconnected implements WebSocketState {
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@override
|
||||||
|
void debugFillProperties(DiagnosticPropertiesBuilder properties) {
|
||||||
|
properties
|
||||||
|
..add(DiagnosticsProperty('type', 'WebSocketState.disconnected'))
|
||||||
|
;
|
||||||
|
}
|
||||||
|
|
||||||
@override
|
@override
|
||||||
bool operator ==(Object other) {
|
bool operator ==(Object other) {
|
||||||
@ -128,7 +152,7 @@ bool operator ==(Object other) {
|
|||||||
int get hashCode => runtimeType.hashCode;
|
int get hashCode => runtimeType.hashCode;
|
||||||
|
|
||||||
@override
|
@override
|
||||||
String toString() {
|
String toString({ DiagnosticLevel minLevel = DiagnosticLevel.info }) {
|
||||||
return 'WebSocketState.disconnected()';
|
return 'WebSocketState.disconnected()';
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -141,7 +165,7 @@ String toString() {
|
|||||||
/// @nodoc
|
/// @nodoc
|
||||||
|
|
||||||
|
|
||||||
class _Error implements WebSocketState {
|
class _Error with DiagnosticableTreeMixin implements WebSocketState {
|
||||||
const _Error(this.message);
|
const _Error(this.message);
|
||||||
|
|
||||||
|
|
||||||
@ -154,6 +178,12 @@ class _Error implements WebSocketState {
|
|||||||
_$ErrorCopyWith<_Error> get copyWith => __$ErrorCopyWithImpl<_Error>(this, _$identity);
|
_$ErrorCopyWith<_Error> get copyWith => __$ErrorCopyWithImpl<_Error>(this, _$identity);
|
||||||
|
|
||||||
|
|
||||||
|
@override
|
||||||
|
void debugFillProperties(DiagnosticPropertiesBuilder properties) {
|
||||||
|
properties
|
||||||
|
..add(DiagnosticsProperty('type', 'WebSocketState.error'))
|
||||||
|
..add(DiagnosticsProperty('message', message));
|
||||||
|
}
|
||||||
|
|
||||||
@override
|
@override
|
||||||
bool operator ==(Object other) {
|
bool operator ==(Object other) {
|
||||||
@ -165,7 +195,7 @@ bool operator ==(Object other) {
|
|||||||
int get hashCode => Object.hash(runtimeType,message);
|
int get hashCode => Object.hash(runtimeType,message);
|
||||||
|
|
||||||
@override
|
@override
|
||||||
String toString() {
|
String toString({ DiagnosticLevel minLevel = DiagnosticLevel.info }) {
|
||||||
return 'WebSocketState.error(message: $message)';
|
return 'WebSocketState.error(message: $message)';
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -206,7 +236,7 @@ as String,
|
|||||||
|
|
||||||
|
|
||||||
/// @nodoc
|
/// @nodoc
|
||||||
mixin _$WebSocketPacket {
|
mixin _$WebSocketPacket implements DiagnosticableTreeMixin {
|
||||||
|
|
||||||
String get type; Map<String, dynamic>? get data; String? get errorMessage;
|
String get type; Map<String, dynamic>? get data; String? get errorMessage;
|
||||||
/// Create a copy of WebSocketPacket
|
/// Create a copy of WebSocketPacket
|
||||||
@ -218,6 +248,12 @@ $WebSocketPacketCopyWith<WebSocketPacket> get copyWith => _$WebSocketPacketCopyW
|
|||||||
/// Serializes this WebSocketPacket to a JSON map.
|
/// Serializes this WebSocketPacket to a JSON map.
|
||||||
Map<String, dynamic> toJson();
|
Map<String, dynamic> toJson();
|
||||||
|
|
||||||
|
@override
|
||||||
|
void debugFillProperties(DiagnosticPropertiesBuilder properties) {
|
||||||
|
properties
|
||||||
|
..add(DiagnosticsProperty('type', 'WebSocketPacket'))
|
||||||
|
..add(DiagnosticsProperty('type', type))..add(DiagnosticsProperty('data', data))..add(DiagnosticsProperty('errorMessage', errorMessage));
|
||||||
|
}
|
||||||
|
|
||||||
@override
|
@override
|
||||||
bool operator ==(Object other) {
|
bool operator ==(Object other) {
|
||||||
@ -229,7 +265,7 @@ bool operator ==(Object other) {
|
|||||||
int get hashCode => Object.hash(runtimeType,type,const DeepCollectionEquality().hash(data),errorMessage);
|
int get hashCode => Object.hash(runtimeType,type,const DeepCollectionEquality().hash(data),errorMessage);
|
||||||
|
|
||||||
@override
|
@override
|
||||||
String toString() {
|
String toString({ DiagnosticLevel minLevel = DiagnosticLevel.info }) {
|
||||||
return 'WebSocketPacket(type: $type, data: $data, errorMessage: $errorMessage)';
|
return 'WebSocketPacket(type: $type, data: $data, errorMessage: $errorMessage)';
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -273,7 +309,7 @@ as String?,
|
|||||||
/// @nodoc
|
/// @nodoc
|
||||||
@JsonSerializable()
|
@JsonSerializable()
|
||||||
|
|
||||||
class _WebSocketPacket implements WebSocketPacket {
|
class _WebSocketPacket with DiagnosticableTreeMixin implements WebSocketPacket {
|
||||||
const _WebSocketPacket({required this.type, required final Map<String, dynamic>? data, required this.errorMessage}): _data = data;
|
const _WebSocketPacket({required this.type, required final Map<String, dynamic>? data, required this.errorMessage}): _data = data;
|
||||||
factory _WebSocketPacket.fromJson(Map<String, dynamic> json) => _$WebSocketPacketFromJson(json);
|
factory _WebSocketPacket.fromJson(Map<String, dynamic> json) => _$WebSocketPacketFromJson(json);
|
||||||
|
|
||||||
@ -299,6 +335,12 @@ _$WebSocketPacketCopyWith<_WebSocketPacket> get copyWith => __$WebSocketPacketCo
|
|||||||
Map<String, dynamic> toJson() {
|
Map<String, dynamic> toJson() {
|
||||||
return _$WebSocketPacketToJson(this, );
|
return _$WebSocketPacketToJson(this, );
|
||||||
}
|
}
|
||||||
|
@override
|
||||||
|
void debugFillProperties(DiagnosticPropertiesBuilder properties) {
|
||||||
|
properties
|
||||||
|
..add(DiagnosticsProperty('type', 'WebSocketPacket'))
|
||||||
|
..add(DiagnosticsProperty('type', type))..add(DiagnosticsProperty('data', data))..add(DiagnosticsProperty('errorMessage', errorMessage));
|
||||||
|
}
|
||||||
|
|
||||||
@override
|
@override
|
||||||
bool operator ==(Object other) {
|
bool operator ==(Object other) {
|
||||||
@ -310,7 +352,7 @@ bool operator ==(Object other) {
|
|||||||
int get hashCode => Object.hash(runtimeType,type,const DeepCollectionEquality().hash(_data),errorMessage);
|
int get hashCode => Object.hash(runtimeType,type,const DeepCollectionEquality().hash(_data),errorMessage);
|
||||||
|
|
||||||
@override
|
@override
|
||||||
String toString() {
|
String toString({ DiagnosticLevel minLevel = DiagnosticLevel.info }) {
|
||||||
return 'WebSocketPacket(type: $type, data: $data, errorMessage: $errorMessage)';
|
return 'WebSocketPacket(type: $type, data: $data, errorMessage: $errorMessage)';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -19,9 +19,9 @@ import 'package:island/pods/network.dart';
|
|||||||
part 'relationship.g.dart';
|
part 'relationship.g.dart';
|
||||||
|
|
||||||
@riverpod
|
@riverpod
|
||||||
Future<List<SnRelationship>> sendFriendRequest(Ref ref) async {
|
Future<List<SnRelationship>> sentFriendRequest(Ref ref) async {
|
||||||
final client = ref.read(apiClientProvider);
|
final client = ref.read(apiClientProvider);
|
||||||
final resp = await client.post('/relationships/requests');
|
final resp = await client.get('/relationships/requests');
|
||||||
return resp.data
|
return resp.data
|
||||||
.map((e) => SnRelationship.fromJson(e))
|
.map((e) => SnRelationship.fromJson(e))
|
||||||
.cast<SnRelationship>()
|
.cast<SnRelationship>()
|
||||||
@ -99,7 +99,7 @@ class RelationshipScreen extends HookConsumerWidget {
|
|||||||
|
|
||||||
final client = ref.read(apiClientProvider);
|
final client = ref.read(apiClientProvider);
|
||||||
await client.post('/relationships/${result.id}/friends');
|
await client.post('/relationships/${result.id}/friends');
|
||||||
relationshipNotifier.forceRefresh();
|
ref.invalidate(sentFriendRequestProvider);
|
||||||
}
|
}
|
||||||
|
|
||||||
final submitting = useState(false);
|
final submitting = useState(false);
|
||||||
@ -136,7 +136,7 @@ class RelationshipScreen extends HookConsumerWidget {
|
|||||||
}
|
}
|
||||||
|
|
||||||
final user = ref.watch(userInfoProvider);
|
final user = ref.watch(userInfoProvider);
|
||||||
final requests = ref.watch(sendFriendRequestProvider);
|
final requests = ref.watch(sentFriendRequestProvider);
|
||||||
|
|
||||||
return AppScaffold(
|
return AppScaffold(
|
||||||
appBar: AppBar(title: Text('relationships').tr()),
|
appBar: AppBar(title: Text('relationships').tr()),
|
||||||
@ -151,12 +151,19 @@ class RelationshipScreen extends HookConsumerWidget {
|
|||||||
),
|
),
|
||||||
if (requests.hasValue && requests.value!.isNotEmpty)
|
if (requests.hasValue && requests.value!.isNotEmpty)
|
||||||
ListTile(
|
ListTile(
|
||||||
leading: const Icon(Symbols.add),
|
leading: const Icon(Symbols.send),
|
||||||
title: Text('friendSentRequest').tr(),
|
title: Text('friendSentRequest').tr(),
|
||||||
subtitle: Text(
|
subtitle: Text(
|
||||||
'friendSentRequestHint'.plural(requests.value!.length),
|
'friendSentRequestHint'.plural(requests.value!.length),
|
||||||
),
|
),
|
||||||
contentPadding: const EdgeInsets.symmetric(horizontal: 24),
|
contentPadding: const EdgeInsets.symmetric(horizontal: 24),
|
||||||
|
onTap: () {
|
||||||
|
showModalBottomSheet(
|
||||||
|
isScrollControlled: true,
|
||||||
|
context: context,
|
||||||
|
builder: (context) => const _SentFriendRequestsSheet(),
|
||||||
|
);
|
||||||
|
},
|
||||||
),
|
),
|
||||||
const Divider(height: 1),
|
const Divider(height: 1),
|
||||||
Expanded(
|
Expanded(
|
||||||
@ -268,3 +275,125 @@ class RelationshipScreen extends HookConsumerWidget {
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
class _SentFriendRequestsSheet extends HookConsumerWidget {
|
||||||
|
const _SentFriendRequestsSheet();
|
||||||
|
|
||||||
|
@override
|
||||||
|
Widget build(BuildContext context, WidgetRef ref) {
|
||||||
|
final requests = ref.watch(sentFriendRequestProvider);
|
||||||
|
|
||||||
|
Future<void> cancelRequest(SnRelationship request) async {
|
||||||
|
try {
|
||||||
|
final client = ref.read(apiClientProvider);
|
||||||
|
await client.delete('/relationships/${request.accountId}/friends');
|
||||||
|
ref.invalidate(sentFriendRequestProvider);
|
||||||
|
} catch (err) {
|
||||||
|
showErrorAlert(err);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
return Container(
|
||||||
|
constraints: BoxConstraints(
|
||||||
|
maxHeight: MediaQuery.of(context).size.height * 0.8,
|
||||||
|
),
|
||||||
|
child: Column(
|
||||||
|
mainAxisSize: MainAxisSize.min,
|
||||||
|
children: [
|
||||||
|
Padding(
|
||||||
|
padding: const EdgeInsets.only(
|
||||||
|
top: 16,
|
||||||
|
left: 20,
|
||||||
|
right: 16,
|
||||||
|
bottom: 12,
|
||||||
|
),
|
||||||
|
child: Row(
|
||||||
|
children: [
|
||||||
|
Text(
|
||||||
|
'friendSentRequest'.tr(),
|
||||||
|
style: Theme.of(context).textTheme.headlineSmall?.copyWith(
|
||||||
|
fontWeight: FontWeight.w600,
|
||||||
|
letterSpacing: -0.5,
|
||||||
|
),
|
||||||
|
),
|
||||||
|
const Spacer(),
|
||||||
|
IconButton(
|
||||||
|
icon: const Icon(Symbols.refresh),
|
||||||
|
style: IconButton.styleFrom(minimumSize: const Size(36, 36)),
|
||||||
|
onPressed: () {
|
||||||
|
ref.invalidate(sentFriendRequestProvider);
|
||||||
|
},
|
||||||
|
),
|
||||||
|
IconButton(
|
||||||
|
icon: const Icon(Symbols.close),
|
||||||
|
onPressed: () => Navigator.pop(context),
|
||||||
|
style: IconButton.styleFrom(minimumSize: const Size(36, 36)),
|
||||||
|
),
|
||||||
|
],
|
||||||
|
),
|
||||||
|
),
|
||||||
|
const Divider(height: 1),
|
||||||
|
Expanded(
|
||||||
|
child: requests.when(
|
||||||
|
data:
|
||||||
|
(items) =>
|
||||||
|
items.isEmpty
|
||||||
|
? Center(
|
||||||
|
child: Text(
|
||||||
|
'friendSentRequestEmpty'.tr(),
|
||||||
|
textAlign: TextAlign.center,
|
||||||
|
),
|
||||||
|
)
|
||||||
|
: ListView.builder(
|
||||||
|
shrinkWrap: true,
|
||||||
|
itemCount: items.length,
|
||||||
|
itemBuilder: (context, index) {
|
||||||
|
final request = items[index];
|
||||||
|
final account = request.related;
|
||||||
|
return ListTile(
|
||||||
|
leading: ProfilePictureWidget(
|
||||||
|
fileId: account.profile.pictureId,
|
||||||
|
),
|
||||||
|
title: Text(account.nick),
|
||||||
|
subtitle: Text('@${account.name}'),
|
||||||
|
trailing: Row(
|
||||||
|
mainAxisSize: MainAxisSize.min,
|
||||||
|
children: [
|
||||||
|
if (request.expiredAt != null)
|
||||||
|
Badge(
|
||||||
|
label: Text(
|
||||||
|
'requestExpiredIn'.tr(
|
||||||
|
args: [
|
||||||
|
RelativeTime(
|
||||||
|
context,
|
||||||
|
).format(request.expiredAt!),
|
||||||
|
],
|
||||||
|
),
|
||||||
|
),
|
||||||
|
backgroundColor:
|
||||||
|
Theme.of(
|
||||||
|
context,
|
||||||
|
).colorScheme.tertiary,
|
||||||
|
textColor:
|
||||||
|
Theme.of(
|
||||||
|
context,
|
||||||
|
).colorScheme.onTertiary,
|
||||||
|
),
|
||||||
|
IconButton(
|
||||||
|
icon: const Icon(Symbols.close),
|
||||||
|
onPressed: () => cancelRequest(request),
|
||||||
|
),
|
||||||
|
],
|
||||||
|
),
|
||||||
|
);
|
||||||
|
},
|
||||||
|
),
|
||||||
|
loading: () => const Center(child: CircularProgressIndicator()),
|
||||||
|
error: (error, stack) => Center(child: Text('Error: $error')),
|
||||||
|
),
|
||||||
|
),
|
||||||
|
],
|
||||||
|
),
|
||||||
|
);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@ -6,25 +6,25 @@ part of 'relationship.dart';
|
|||||||
// RiverpodGenerator
|
// RiverpodGenerator
|
||||||
// **************************************************************************
|
// **************************************************************************
|
||||||
|
|
||||||
String _$sendFriendRequestHash() => r'0fc0a3866b64df8b547f831fdb7db47929e2c9ff';
|
String _$sentFriendRequestHash() => r'cb134439280d361af585c3108fdd12543ac84130';
|
||||||
|
|
||||||
/// See also [sendFriendRequest].
|
/// See also [sentFriendRequest].
|
||||||
@ProviderFor(sendFriendRequest)
|
@ProviderFor(sentFriendRequest)
|
||||||
final sendFriendRequestProvider =
|
final sentFriendRequestProvider =
|
||||||
AutoDisposeFutureProvider<List<SnRelationship>>.internal(
|
AutoDisposeFutureProvider<List<SnRelationship>>.internal(
|
||||||
sendFriendRequest,
|
sentFriendRequest,
|
||||||
name: r'sendFriendRequestProvider',
|
name: r'sentFriendRequestProvider',
|
||||||
debugGetCreateSourceHash:
|
debugGetCreateSourceHash:
|
||||||
const bool.fromEnvironment('dart.vm.product')
|
const bool.fromEnvironment('dart.vm.product')
|
||||||
? null
|
? null
|
||||||
: _$sendFriendRequestHash,
|
: _$sentFriendRequestHash,
|
||||||
dependencies: null,
|
dependencies: null,
|
||||||
allTransitiveDependencies: null,
|
allTransitiveDependencies: null,
|
||||||
);
|
);
|
||||||
|
|
||||||
@Deprecated('Will be removed in 3.0. Use Ref instead')
|
@Deprecated('Will be removed in 3.0. Use Ref instead')
|
||||||
// ignore: unused_element
|
// ignore: unused_element
|
||||||
typedef SendFriendRequestRef =
|
typedef SentFriendRequestRef =
|
||||||
AutoDisposeFutureProviderRef<List<SnRelationship>>;
|
AutoDisposeFutureProviderRef<List<SnRelationship>>;
|
||||||
String _$relationshipListNotifierHash() =>
|
String _$relationshipListNotifierHash() =>
|
||||||
r'ad352e8b10641820d5acac27b26ad1bb0b59b67f';
|
r'ad352e8b10641820d5acac27b26ad1bb0b59b67f';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user