ChangePasswordConfig class

Configuration to enable to user to change his password in the profilescreen.

Constructors

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

Properties

enablePasswordChange → bool
Enables the textfields for the user to provide a new password.
final
fieldRequiredErrorText → String
Error text to be shown when either of the textfields is empty.
final
hashCode → int
The hash code for this object.
no setterinherited
notEqualErrorText → String
Error text to be shown when the second password isn't equal to the first password.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
saveButtonBuilder → (Widget Function(BuildContext context, void onTap())?)
Ability to override the standard 'save password' button.
final
title → String
Text for the title above the textfields.
final
titleStyle → TextStyle?
Textstyle of the title.
final
underTitle → String
Text for the undertitle just above the textfields.
final
underTitleStyle → TextStyle?
Textstyle for the undertitle
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited