ChangePasswordConfig constructor

const ChangePasswordConfig(
  1. {required bool enablePasswordChange,
  2. String title = 'Change password',
  3. TextStyle? titleStyle,
  4. String underTitle = 'You van make the password more secure using upper and lower case ' 'letter, numbers and special characters.',
  5. TextStyle? underTitleStyle,
  6. Widget saveButtonBuilder(
    1. BuildContext context,
    2. void onTap(
        )
      )?,
    3. String fieldRequiredErrorText = 'Field required',
    4. String notEqualErrorText = 'Password have to be equal'}
    )

    Implementation

    const ChangePasswordConfig({
      required this.enablePasswordChange,
      this.title = 'Change password',
      this.titleStyle,
      this.underTitle =
          'You van make the password more secure using upper and lower case '
              'letter, numbers and special characters.',
      this.underTitleStyle,
      this.saveButtonBuilder,
      this.fieldRequiredErrorText = 'Field required',
      this.notEqualErrorText = 'Password have to be equal',
    });