PhoneEntryConfig constructor

const PhoneEntryConfig({
  1. String? title = 'Enter your phone number',
  2. String? subtitle = "We'll send you a verification code",
  3. FxFlagShape flagShape = FxFlagShape.circle,
  4. double flagSize = 28,
  5. String buttonLabel = 'Send code',
  6. Widget keyboardBuilder(
    1. TextEditingController phoneController
    )?,
  7. Widget? header,
  8. Widget? footer,
  9. EdgeInsets? padding,
  10. double? spacing,
  11. List<Widget> otherWidgets = const [],
  12. MainAxisAlignment mainAxisAlignment = MainAxisAlignment.center,
  13. 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,
});