NiceChangePassword constructor

const NiceChangePassword({
  1. Key? key,
  2. required Future<void> onSubmit(
    1. String? currentPassword,
    2. String newPassword
    ),
  3. bool showCurrentPassword = true,
  4. String title = 'Change Password',
  5. int minLength = 8,
})

Implementation

const NiceChangePassword({
  super.key,
  required this.onSubmit,
  this.showCurrentPassword = true,
  this.title = 'Change Password',
  this.minLength = 8,
});