Reset password
Generated reference for ovok_flutter: reset password.
- Stable unknown
- Release candidate since 0.1.0-rc.4
- Development since 0.1.0-dev.25+148a28a
ResetPassword
class ResetPassword extends StatefulWidgetRequests a password reset for a patient or practitioner account.
Constructors
ResetPassword.new
ResetPassword({
required Ovok ovok,
AuthTranslations translations = defaultAuthTranslations,
VoidCallback? onBack,
void Function(Object)? onError,
Key? key,
})Creates a password-reset form.
| Parameter | Type | Kind | Default |
|---|---|---|---|
ovok | Ovok | required named | |
translations | AuthTranslations | named | defaultAuthTranslations |
onBack | VoidCallback? | named | |
onError | void Function(Object)? | named | |
key | Key? | named |
Properties
ResetPassword.ovok
final Ovok ovokThe client used for reset requests.
ResetPassword.translations
final AuthTranslations translationsLabels to use for this form.
ResetPassword.onBack
final VoidCallback? onBackCalled when the user returns to sign-in.
ResetPassword.onError
final void Function(Object)? onErrorCalled when a reset request fails.
Last updated on