LoginPage constructor

const LoginPage({
  1. Key? key,
  2. String? title,
  3. String? backgroundPath,
  4. String? iconPath,
  5. void onLogin(
    1. String username,
    2. String password
    )?,
  6. TextStyle? titleStyle,
  7. String userLabel = 'Usuario',
  8. String passwordLabel = 'ContraseƱa',
  9. int minPasswordLength = 6,
  10. int maxPasswordLength = 20,
  11. Color? backgroundButtonColor,
  12. int contentFlex = 1,
})

Implementation

const LoginPage({
  super.key,
  this.title,
  this.backgroundPath,
  this.iconPath,
  this.onLogin,
  this.titleStyle,
  this.userLabel = 'Usuario',
  this.passwordLabel = 'ContraseƱa',
  this.minPasswordLength = 6,
  this.maxPasswordLength = 20,
  this.backgroundButtonColor,
  this.contentFlex = 1,
});