UserProfile constructor
UserProfile({
- Key? key,
- required Widget changePasswordText,
- required Widget changeEmailText,
- required Widget logoutText,
- required Function onLogout,
- required Widget changeEmailDescription,
- required String newEmailHint,
- required Widget changePasswordDescription,
- required String newPasswordHint,
- required Widget companyLogo,
- Widget? child,
- 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);