push static method
Future<AtOnboardingOTPResult?>
push({
- required BuildContext context,
- required String atSign,
- String? email,
- required bool hideReferences,
- required AtOnboardingConfig config,
Static method to navigate to this screen
Implementation
static Future<AtOnboardingOTPResult?> push({
required BuildContext context,
required String atSign,
String? email,
required bool hideReferences,
required AtOnboardingConfig config,
}) {
return Navigator.push(
context,
MaterialPageRoute(
builder: (_) => AtOnboardingOTPScreen(
atSign: atSign,
email: email,
hideReferences: hideReferences,
config: config,
),
),
);
}