Skip to content

Commit

Permalink
fix(flutterfire_ui): use EmailVerificationScreen.actionCodeSettings
Browse files Browse the repository at this point in the history
… & and fix `flutter analyze` with Flutter 3.0.0 (#8651)
  • Loading branch information
nilsreichardt committed May 12, 2022
1 parent 55d8fb5 commit f12f1e2
Showing 1 changed file with 4 additions and 3 deletions.
Expand Up @@ -59,6 +59,7 @@ class EmailVerificationScreen extends StatelessWidget {
padding: const EdgeInsets.all(32),
child: _EmailVerificationScreenContent(
auth: auth,
actionCodeSettings: actionCodeSettings,
),
),
),
Expand All @@ -74,8 +75,8 @@ class _EmailVerificationScreenContent extends StatefulWidget {

const _EmailVerificationScreenContent({
Key? key,
this.auth,
this.actionCodeSettings,
required this.auth,
required this.actionCodeSettings,
}) : super(key: key);

@override
Expand All @@ -92,7 +93,7 @@ class __EmailVerificationScreenContentState

@override
void initState() {
SchedulerBinding.instance!.addPostFrameCallback(_sendEmailVerification);
SchedulerBinding.instance.addPostFrameCallback(_sendEmailVerification);
super.initState();
}

Expand Down

0 comments on commit f12f1e2

Please sign in to comment.