UserProfile constructor

UserProfile({
  1. Key? key,
  2. required Widget changePasswordText,
  3. required Widget changeEmailText,
  4. required Widget logoutText,
  5. required Function onLogout,
  6. required Widget changeEmailDescription,
  7. required String newEmailHint,
  8. required Widget changePasswordDescription,
  9. required String newPasswordHint,
  10. Widget? child,
  11. BoxDecoration? profileCardDecoration,
})

Implementation

UserProfile({
  Key? key,
  required this.changePasswordText,
  required this.changeEmailText,
  required this.logoutText,
  required this.onLogout,
  required this.changeEmailDescription,
  required this.newEmailHint,
  required this.changePasswordDescription,
  required this.newPasswordHint,
  required this.companyLogo,
  this.child,
  this.profileCardDecoration,
}) : super(key: key);