CreateUserConfig constructor

const CreateUserConfig({
  1. required bool isEmailRequired,
  2. required bool isNameRequired,
  3. bool isGenderRequired = false,
  4. bool isDobRequired = false,
  5. required bool showEmail,
  6. required bool showUserName,
  7. bool showDob = false,
  8. bool showGender = false,
})

Implementation

const CreateUserConfig({
  required this.isEmailRequired,
  required this.isNameRequired,
  this.isGenderRequired = false,
  this.isDobRequired = false,
  required this.showEmail,
  required this.showUserName,
  this.showDob = false,
  this.showGender = false,
});