AuthStepLayout constructor

const AuthStepLayout({
  1. String? title,
  2. String? subtitle,
  3. TextStyle? titleStyle,
  4. TextStyle? subtitleStyle,
  5. String actionLabel = 'Continue',
  6. EdgeInsets? contentPadding,
  7. double? contentSpacing,
  8. double? headerSpacing,
  9. TextAlign textAlign = TextAlign.center,
  10. MainAxisAlignment mainAxisAlignment = MainAxisAlignment.center,
  11. CrossAxisAlignment crossAxisAlignment = CrossAxisAlignment.stretch,
  12. void titleOnTap(
    1. int position,
    2. String text
    )?,
  13. void subtitleOnTap(
    1. int position,
    2. String text
    )?,
})

Implementation

const AuthStepLayout({
  this.title,
  this.subtitle,
  this.titleStyle,
  this.subtitleStyle,
  this.actionLabel = 'Continue',
  this.contentPadding,
  this.contentSpacing,
  this.headerSpacing,
  this.textAlign = TextAlign.center,
  this.mainAxisAlignment = MainAxisAlignment.center,
  this.crossAxisAlignment = CrossAxisAlignment.stretch,
  this.titleOnTap,
  this.subtitleOnTap,
});