From 7c81cdd15c7ed704c67dee993efed128b14e0360 Mon Sep 17 00:00:00 2001 From: Kosuke Saigusa Date: Thu, 21 Sep 2023 10:16:24 +0900 Subject: [PATCH] style: dart fix apply --- packages/mottai_flutter_app/lib/auth/ui/button_builder.dart | 2 +- packages/mottai_flutter_app/lib/chat/chat_room.dart | 2 +- .../ui/disable_user_account_request_controller.dart | 2 +- .../lib/development/firebase_storage/ui/firebase_storage.dart | 2 +- packages/mottai_flutter_app/lib/host/ui/host_form.dart | 4 ++-- packages/mottai_flutter_app/lib/map/ui/map.dart | 2 +- packages/mottai_flutter_app/lib/root/ui/root.dart | 2 +- packages/mottai_flutter_app/lib/user/ui/user_mode.dart | 2 +- packages/mottai_flutter_app/test/todo/ui/todos_test.dart | 2 +- 9 files changed, 10 insertions(+), 10 deletions(-) diff --git a/packages/mottai_flutter_app/lib/auth/ui/button_builder.dart b/packages/mottai_flutter_app/lib/auth/ui/button_builder.dart index 9ae1d45a..f627f2d9 100644 --- a/packages/mottai_flutter_app/lib/auth/ui/button_builder.dart +++ b/packages/mottai_flutter_app/lib/auth/ui/button_builder.dart @@ -134,7 +134,7 @@ class SignInButtonBuilder extends StatelessWidget { separator!, SizedBox( width: separatorSpaceRight, - ) + ), ], Text( text, diff --git a/packages/mottai_flutter_app/lib/chat/chat_room.dart b/packages/mottai_flutter_app/lib/chat/chat_room.dart index 3e6c4736..43243021 100644 --- a/packages/mottai_flutter_app/lib/chat/chat_room.dart +++ b/packages/mottai_flutter_app/lib/chat/chat_room.dart @@ -173,7 +173,7 @@ class ChatRoomStateNotifier extends StateNotifier { state = state.copyWith( readChatMessages: [ ...state.newReadChatMessages, - ...state.pastReadChatMessages + ...state.pastReadChatMessages, ], ); } diff --git a/packages/mottai_flutter_app/lib/development/disable_user_account_request/ui/disable_user_account_request_controller.dart b/packages/mottai_flutter_app/lib/development/disable_user_account_request/ui/disable_user_account_request_controller.dart index d6a12798..5ec1b03b 100644 --- a/packages/mottai_flutter_app/lib/development/disable_user_account_request/ui/disable_user_account_request_controller.dart +++ b/packages/mottai_flutter_app/lib/development/disable_user_account_request/ui/disable_user_account_request_controller.dart @@ -64,7 +64,7 @@ class DisableUserAccountRequestController { Navigator.pop(context); }, child: const Text('戻る'), - ) + ), ], ), ); diff --git a/packages/mottai_flutter_app/lib/development/firebase_storage/ui/firebase_storage.dart b/packages/mottai_flutter_app/lib/development/firebase_storage/ui/firebase_storage.dart index 98ac6408..e4fc76bb 100644 --- a/packages/mottai_flutter_app/lib/development/firebase_storage/ui/firebase_storage.dart +++ b/packages/mottai_flutter_app/lib/development/firebase_storage/ui/firebase_storage.dart @@ -116,7 +116,7 @@ class _FirebaseStorageSampleState else const Center( child: Text('未アップロード'), - ) + ), ], ), ); diff --git a/packages/mottai_flutter_app/lib/host/ui/host_form.dart b/packages/mottai_flutter_app/lib/host/ui/host_form.dart index e2a9251f..2ed016f0 100644 --- a/packages/mottai_flutter_app/lib/host/ui/host_form.dart +++ b/packages/mottai_flutter_app/lib/host/ui/host_form.dart @@ -268,7 +268,7 @@ class HostFormState extends ConsumerState { color: Theme.of(context).colorScheme.error, ), ), - ) + ), ], ), ), @@ -578,7 +578,7 @@ class _TextInputSection extends StatelessWidget { ], if (child != null) ...[ child!, - ] + ], ], ), ); diff --git a/packages/mottai_flutter_app/lib/map/ui/map.dart b/packages/mottai_flutter_app/lib/map/ui/map.dart index 441b5e78..f169fe81 100644 --- a/packages/mottai_flutter_app/lib/map/ui/map.dart +++ b/packages/mottai_flutter_app/lib/map/ui/map.dart @@ -257,7 +257,7 @@ class MapPageState extends ConsumerState { ); }, icon: const Icon(Icons.near_me), - ) + ), ], ), ), diff --git a/packages/mottai_flutter_app/lib/root/ui/root.dart b/packages/mottai_flutter_app/lib/root/ui/root.dart index 1b4108ac..31d1e436 100644 --- a/packages/mottai_flutter_app/lib/root/ui/root.dart +++ b/packages/mottai_flutter_app/lib/root/ui/root.dart @@ -184,7 +184,7 @@ class _DrawerChild extends ConsumerWidget { leading: const Icon(Icons.login), title: const Text('サインイン(ソーシャル)'), onTap: () => context.router.pushNamed(SignInSamplePage.location), - ) + ), ], ListTile( leading: const Icon(Icons.notifications), diff --git a/packages/mottai_flutter_app/lib/user/ui/user_mode.dart b/packages/mottai_flutter_app/lib/user/ui/user_mode.dart index b28fa7bf..35ef3111 100644 --- a/packages/mottai_flutter_app/lib/user/ui/user_mode.dart +++ b/packages/mottai_flutter_app/lib/user/ui/user_mode.dart @@ -53,7 +53,7 @@ class UserModeSection extends ConsumerWidget { .read(userModeStateProvider.notifier) .update((_) => newSelection.first); }, - ) + ), ], ); }, diff --git a/packages/mottai_flutter_app/test/todo/ui/todos_test.dart b/packages/mottai_flutter_app/test/todo/ui/todos_test.dart index 9210e600..32b93e43 100644 --- a/packages/mottai_flutter_app/test/todo/ui/todos_test.dart +++ b/packages/mottai_flutter_app/test/todo/ui/todos_test.dart @@ -59,7 +59,7 @@ void main() { await tester.pumpWidget( ProviderScope( overrides: [ - todoRepositoryProvider.overrideWithValue(mockTodoRepository) + todoRepositoryProvider.overrideWithValue(mockTodoRepository), ], child: const _TodosPage(), ),