diff --git a/packages/firebase_ui_auth/lib/src/screens/profile_screen.dart b/packages/firebase_ui_auth/lib/src/screens/profile_screen.dart index 32d6e44b33c7..65420822da09 100644 --- a/packages/firebase_ui_auth/lib/src/screens/profile_screen.dart +++ b/packages/firebase_ui_auth/lib/src/screens/profile_screen.dart @@ -390,9 +390,10 @@ class _EmailVerificationBadgeState extends State<_EmailVerificationBadge> { ), const SizedBox(height: 16), if (state == EmailVerificationState.pending) - const Row( + // ignore: prefer_const_constructors + Row( mainAxisAlignment: MainAxisAlignment.center, - children: [ + children: const [ LoadingIndicator(size: 16, borderWidth: 0.5), SizedBox(width: 16), Text('Waiting for email verification'),