fix syntax issues

This commit is contained in:
Christien Rioux 2023-09-30 21:11:06 -04:00
parent 7a49497620
commit a25ef9ed44
7 changed files with 31 additions and 148 deletions

View File

@ -1,6 +1,7 @@
import 'dart:async'; import 'dart:async';
import 'package:awesome_extensions/awesome_extensions.dart'; import 'package:awesome_extensions/awesome_extensions.dart';
import 'package:flutter/foundation.dart';
import 'package:flutter/material.dart'; import 'package:flutter/material.dart';
import 'package:flutter_chat_types/flutter_chat_types.dart' as types; import 'package:flutter_chat_types/flutter_chat_types.dart' as types;
import 'package:flutter_chat_ui/flutter_chat_ui.dart'; import 'package:flutter_chat_ui/flutter_chat_ui.dart';
@ -31,47 +32,12 @@ class ChatComponent extends ConsumerStatefulWidget {
@override @override
void debugFillProperties(DiagnosticPropertiesBuilder properties) { void debugFillProperties(DiagnosticPropertiesBuilder properties) {
super.debugFillProperties(properties); super.debugFillProperties(properties);
properties.add(DiagnosticsProperty<ActiveAccountInfo>('activeAccountInfo', activeAccountInfo)); properties
} ..add(DiagnosticsProperty<ActiveAccountInfo>(
@override 'activeAccountInfo', activeAccountInfo))
void debugFillProperties(DiagnosticPropertiesBuilder properties) { ..add(DiagnosticsProperty<TypedKey>('activeChat', activeChat))
super.debugFillProperties(properties); ..add(DiagnosticsProperty<proto.Contact>(
properties.add(DiagnosticsProperty<TypedKey>('activeChat', activeChat)); 'activeChatContact', activeChatContact));
}
@override
void debugFillProperties(DiagnosticPropertiesBuilder properties) {
super.debugFillProperties(properties);
properties.add(DiagnosticsProperty<proto.Contact>('activeChatContact', activeChatContact));
}
@override
void debugFillProperties(DiagnosticPropertiesBuilder properties) {
super.debugFillProperties(properties);
properties.add(DiagnosticsProperty<TypedKey>('activeChat', activeChat));
}
@override
void debugFillProperties(DiagnosticPropertiesBuilder properties) {
super.debugFillProperties(properties);
properties.add(DiagnosticsProperty<proto.Contact>('activeChatContact', activeChatContact));
}
@override
void debugFillProperties(DiagnosticPropertiesBuilder properties) {
super.debugFillProperties(properties);
properties.add(DiagnosticsProperty<TypedKey>('activeChat', activeChat));
}
@override
void debugFillProperties(DiagnosticPropertiesBuilder properties) {
super.debugFillProperties(properties);
properties.add(DiagnosticsProperty<proto.Contact>('activeChatContact', activeChatContact));
}
@override
void debugFillProperties(DiagnosticPropertiesBuilder properties) {
super.debugFillProperties(properties);
properties.add(DiagnosticsProperty<TypedKey>('activeChat', activeChat));
}
@override
void debugFillProperties(DiagnosticPropertiesBuilder properties) {
super.debugFillProperties(properties);
properties.add(DiagnosticsProperty<proto.Contact>('activeChatContact', activeChatContact));
} }
} }

View File

@ -1,5 +1,6 @@
import 'package:awesome_extensions/awesome_extensions.dart'; import 'package:awesome_extensions/awesome_extensions.dart';
import 'package:fast_immutable_collections/fast_immutable_collections.dart'; import 'package:fast_immutable_collections/fast_immutable_collections.dart';
import 'package:flutter/foundation.dart';
import 'package:flutter/material.dart'; import 'package:flutter/material.dart';
import 'package:flutter_riverpod/flutter_riverpod.dart'; import 'package:flutter_riverpod/flutter_riverpod.dart';
import 'package:flutter_translate/flutter_translate.dart'; import 'package:flutter_translate/flutter_translate.dart';
@ -79,29 +80,13 @@ class ChatSingleContactListWidget extends ConsumerWidget {
).paddingAll(8)))) ).paddingAll(8))))
.paddingLTRB(8, 8, 8, 65); .paddingLTRB(8, 8, 8, 65);
} }
@override @override
void debugFillProperties(DiagnosticPropertiesBuilder properties) { void debugFillProperties(DiagnosticPropertiesBuilder properties) {
super.debugFillProperties(properties); super.debugFillProperties(properties);
properties.add(DiagnosticsProperty<IMap<proto.TypedKey, proto.Contact>>('contactMap', contactMap)); properties
} ..add(DiagnosticsProperty<IMap<proto.TypedKey, proto.Contact>>(
@override 'contactMap', contactMap))
void debugFillProperties(DiagnosticPropertiesBuilder properties) { ..add(IterableProperty<proto.Chat>('chatList', chatList));
super.debugFillProperties(properties);
properties.add(IterableProperty<proto.Chat>('chatList', chatList));
}
@override
void debugFillProperties(DiagnosticPropertiesBuilder properties) {
super.debugFillProperties(properties);
properties.add(IterableProperty<proto.Chat>('chatList', chatList));
}
@override
void debugFillProperties(DiagnosticPropertiesBuilder properties) {
super.debugFillProperties(properties);
properties.add(IterableProperty<proto.Chat>('chatList', chatList));
}
@override
void debugFillProperties(DiagnosticPropertiesBuilder properties) {
super.debugFillProperties(properties);
properties.add(IterableProperty<proto.Chat>('chatList', chatList));
} }
} }

View File

@ -1,5 +1,6 @@
import 'package:awesome_extensions/awesome_extensions.dart'; import 'package:awesome_extensions/awesome_extensions.dart';
import 'package:fast_immutable_collections/fast_immutable_collections.dart'; import 'package:fast_immutable_collections/fast_immutable_collections.dart';
import 'package:flutter/foundation.dart';
import 'package:flutter/material.dart'; import 'package:flutter/material.dart';
import 'package:flutter_riverpod/flutter_riverpod.dart'; import 'package:flutter_riverpod/flutter_riverpod.dart';
@ -21,7 +22,8 @@ class ContactInvitationListWidget extends ConsumerStatefulWidget {
@override @override
void debugFillProperties(DiagnosticPropertiesBuilder properties) { void debugFillProperties(DiagnosticPropertiesBuilder properties) {
super.debugFillProperties(properties); super.debugFillProperties(properties);
properties.add(IterableProperty<proto.ContactInvitationRecord>('contactInvitationRecordList', contactInvitationRecordList)); properties.add(IterableProperty<proto.ContactInvitationRecord>(
'contactInvitationRecordList', contactInvitationRecordList));
} }
} }

View File

@ -2,6 +2,7 @@
import 'package:awesome_extensions/awesome_extensions.dart'; import 'package:awesome_extensions/awesome_extensions.dart';
import 'package:fast_immutable_collections/fast_immutable_collections.dart'; import 'package:fast_immutable_collections/fast_immutable_collections.dart';
import 'package:flutter/foundation.dart';
import 'package:flutter/material.dart'; import 'package:flutter/material.dart';
import 'package:flutter_riverpod/flutter_riverpod.dart'; import 'package:flutter_riverpod/flutter_riverpod.dart';
import 'package:flutter_translate/flutter_translate.dart'; import 'package:flutter_translate/flutter_translate.dart';
@ -33,47 +34,10 @@ class AccountPage extends ConsumerStatefulWidget {
@override @override
void debugFillProperties(DiagnosticPropertiesBuilder properties) { void debugFillProperties(DiagnosticPropertiesBuilder properties) {
super.debugFillProperties(properties); super.debugFillProperties(properties);
properties.add(IterableProperty<LocalAccount>('localAccounts', localAccounts)); properties
} ..add(IterableProperty<LocalAccount>('localAccounts', localAccounts))
@override ..add(DiagnosticsProperty<TypedKey>('activeUserLogin', activeUserLogin))
void debugFillProperties(DiagnosticPropertiesBuilder properties) { ..add(DiagnosticsProperty<proto.Account>('account', account));
super.debugFillProperties(properties);
properties.add(DiagnosticsProperty<TypedKey>('activeUserLogin', activeUserLogin));
}
@override
void debugFillProperties(DiagnosticPropertiesBuilder properties) {
super.debugFillProperties(properties);
properties.add(DiagnosticsProperty<proto.Account>('account', account));
}
@override
void debugFillProperties(DiagnosticPropertiesBuilder properties) {
super.debugFillProperties(properties);
properties.add(DiagnosticsProperty<TypedKey>('activeUserLogin', activeUserLogin));
}
@override
void debugFillProperties(DiagnosticPropertiesBuilder properties) {
super.debugFillProperties(properties);
properties.add(DiagnosticsProperty<proto.Account>('account', account));
}
@override
void debugFillProperties(DiagnosticPropertiesBuilder properties) {
super.debugFillProperties(properties);
properties.add(DiagnosticsProperty<TypedKey>('activeUserLogin', activeUserLogin));
}
@override
void debugFillProperties(DiagnosticPropertiesBuilder properties) {
super.debugFillProperties(properties);
properties.add(DiagnosticsProperty<proto.Account>('account', account));
}
@override
void debugFillProperties(DiagnosticPropertiesBuilder properties) {
super.debugFillProperties(properties);
properties.add(DiagnosticsProperty<TypedKey>('activeUserLogin', activeUserLogin));
}
@override
void debugFillProperties(DiagnosticPropertiesBuilder properties) {
super.debugFillProperties(properties);
properties.add(DiagnosticsProperty<proto.Account>('account', account));
} }
} }

View File

@ -2,6 +2,7 @@ import 'dart:async';
import 'package:awesome_extensions/awesome_extensions.dart'; import 'package:awesome_extensions/awesome_extensions.dart';
import 'package:fast_immutable_collections/fast_immutable_collections.dart'; import 'package:fast_immutable_collections/fast_immutable_collections.dart';
import 'package:flutter/foundation.dart';
import 'package:flutter/material.dart'; import 'package:flutter/material.dart';
import 'package:flutter/rendering.dart'; import 'package:flutter/rendering.dart';
import 'package:flutter/services.dart'; import 'package:flutter/services.dart';
@ -42,47 +43,10 @@ class MainPager extends ConsumerStatefulWidget {
@override @override
void debugFillProperties(DiagnosticPropertiesBuilder properties) { void debugFillProperties(DiagnosticPropertiesBuilder properties) {
super.debugFillProperties(properties); super.debugFillProperties(properties);
properties.add(IterableProperty<LocalAccount>('localAccounts', localAccounts)); properties
} ..add(IterableProperty<LocalAccount>('localAccounts', localAccounts))
@override ..add(DiagnosticsProperty<TypedKey>('activeUserLogin', activeUserLogin))
void debugFillProperties(DiagnosticPropertiesBuilder properties) { ..add(DiagnosticsProperty<proto.Account>('account', account));
super.debugFillProperties(properties);
properties.add(DiagnosticsProperty<TypedKey>('activeUserLogin', activeUserLogin));
}
@override
void debugFillProperties(DiagnosticPropertiesBuilder properties) {
super.debugFillProperties(properties);
properties.add(DiagnosticsProperty<proto.Account>('account', account));
}
@override
void debugFillProperties(DiagnosticPropertiesBuilder properties) {
super.debugFillProperties(properties);
properties.add(DiagnosticsProperty<TypedKey>('activeUserLogin', activeUserLogin));
}
@override
void debugFillProperties(DiagnosticPropertiesBuilder properties) {
super.debugFillProperties(properties);
properties.add(DiagnosticsProperty<proto.Account>('account', account));
}
@override
void debugFillProperties(DiagnosticPropertiesBuilder properties) {
super.debugFillProperties(properties);
properties.add(DiagnosticsProperty<TypedKey>('activeUserLogin', activeUserLogin));
}
@override
void debugFillProperties(DiagnosticPropertiesBuilder properties) {
super.debugFillProperties(properties);
properties.add(DiagnosticsProperty<proto.Account>('account', account));
}
@override
void debugFillProperties(DiagnosticPropertiesBuilder properties) {
super.debugFillProperties(properties);
properties.add(DiagnosticsProperty<TypedKey>('activeUserLogin', activeUserLogin));
}
@override
void debugFillProperties(DiagnosticPropertiesBuilder properties) {
super.debugFillProperties(properties);
properties.add(DiagnosticsProperty<proto.Account>('account', account));
} }
} }
@ -334,9 +298,11 @@ class MainPagerState extends ConsumerState<MainPager>
floatingActionButtonLocation: FloatingActionButtonLocation.endDocked, floatingActionButtonLocation: FloatingActionButtonLocation.endDocked,
); );
} }
@override @override
void debugFillProperties(DiagnosticPropertiesBuilder properties) { void debugFillProperties(DiagnosticPropertiesBuilder properties) {
super.debugFillProperties(properties); super.debugFillProperties(properties);
properties.add(DiagnosticsProperty<PreloadPageController>('pageController', pageController)); properties.add(DiagnosticsProperty<PreloadPageController>(
'pageController', pageController));
} }
} }

View File

@ -7,7 +7,7 @@ part of 'conversation.dart';
// ************************************************************************** // **************************************************************************
String _$activeConversationMessagesHash() => String _$activeConversationMessagesHash() =>
r'1ec73644fd9b6c96c891487e3d027eb8834d25b6'; r'61c9e16f1304c7929a971ec7711d2b6c7cadc5ea';
/// See also [ActiveConversationMessages]. /// See also [ActiveConversationMessages].
@ProviderFor(ActiveConversationMessages) @ProviderFor(ActiveConversationMessages)

View File

@ -6,7 +6,7 @@ part of 'router_notifier.dart';
// RiverpodGenerator // RiverpodGenerator
// ************************************************************************** // **************************************************************************
String _$routerNotifierHash() => r'f462d13cf63fa23a7a8e6a4edfa63984f32adaf1'; String _$routerNotifierHash() => r'b7c49cdc6f940c5a5032faaf19af08d9f478dae6';
/// See also [RouterNotifier]. /// See also [RouterNotifier].
@ProviderFor(RouterNotifier) @ProviderFor(RouterNotifier)