PhoneEntryConfig constructor
const
PhoneEntryConfig({
- String? title = 'Enter your phone number',
- String? subtitle = "We'll send you a verification code",
- FxFlagShape flagShape = FxFlagShape.circle,
- double flagSize = 28,
- String buttonLabel = 'Send code',
- Widget keyboardBuilder(
- TextEditingController phoneController
- Widget? header,
- EdgeInsets? padding,
- double? spacing,
- List<
Widget> otherWidgets = const [], - MainAxisAlignment mainAxisAlignment = MainAxisAlignment.center,
- CrossAxisAlignment crossAxisAlignment = CrossAxisAlignment.stretch,
Implementation
const PhoneEntryConfig({
this.title = 'Enter your phone number',
this.subtitle = "We'll send you a verification code",
this.flagShape = FxFlagShape.circle,
this.flagSize = 28,
this.buttonLabel = 'Send code',
this.keyboardBuilder,
this.header,
this.footer,
this.padding,
this.spacing,
this.otherWidgets = const [],
this.mainAxisAlignment = MainAxisAlignment.center,
this.crossAxisAlignment = CrossAxisAlignment.stretch,
});