Skip to main content

SignupDetailsViewModel class

SignupDetailsViewModel class helps to interact with model to serve data and react to user's input for Sign Up Details section.

Methods include:

  • signUp

Inheritance

: - Object

Constructors

SignupDetailsViewModel

:

Properties

[confirmFocus] [↔ FocusNode] : FocusNode to manage focus for the confirmation password input field. ::: features getter/setter pair :::

[confirmPassword] [↔ TextEditingController] : TextEditingController for handling confirmation password input field. ::: features getter/setter pair :::

[email] [↔ TextEditingController] : TextEditingController for handling email input field. ::: features getter/setter pair :::

[firstName] [↔ TextEditingController] : TextEditingController for handling first name input field. ::: features getter/setter pair :::

[formKey] [→ GlobalKey[<[FormState]>]] : GlobalKey to identify and manage the state of a form widget. ::: features final :::

[greeting] [↔ List[<[Map[<[String], dynamic>]]>]] : List of maps to store greeting information, where each greeting is represented by a map with String keys and dynamic values. ::: features getter/setter pair :::

[hashCode] [→ int] : The hash code for this object. ::: features no setterinherited :::

[hasListeners] [→ bool] : Whether any listeners are currently registered. ::: features no setterinherited :::

[hidePassword] [↔ bool] : Boolean to toggle password visibility (true for hidden, false for visible). ::: features getter/setter pair :::

[isBusy] [→ bool]

: ::: features no setterinherited :::

[lastName] [↔ TextEditingController] : TextEditingController for handling last name input field. ::: features getter/setter pair :::

[password] [↔ TextEditingController] : TextEditingController for handling password input field. ::: features getter/setter pair :::

[runtimeType] [→ Type] : A representation of the runtime type of the object. ::: features no setterinherited :::

[secureStorage] [↔ FlutterSecureStorage] : Secure local storage instance. ::: features getter/setter pair :::

[selectedOrganization] [↔ OrgInfo?] : Represents information about the selected organization. ::: features getter/setter pair :::

[state] [→ ViewState]

: ::: features no setterinherited :::

[validate] [↔ AutovalidateMode] : AutovalidateMode to determine when to perform automatic validation of form fields. ::: features getter/setter pair :::

Methods

[addListener][([[VoidCallback] listener]) → void ] : Register a closure to be called when the object changes. ::: features inherited :::

dispose [→ void ] : Discards any resources used by the object. After this is called, the object is not in a usable state and should be discarded (calls to addListener will throw after the object is disposed). ::: features inherited :::

[initialise][([[OrgInfo?] org]) → void ] : Initializes the greeting message for a selected organization.

[noSuchMethod][([[Invocation] invocation]) → dynamic ] : Invoked when a nonexistent method or property is accessed. ::: features inherited :::

notifyListeners [→ void ] : Call all the registered listeners. ::: features inherited :::

[removeListener][([[VoidCallback] listener]) → void ] : Remove a previously registered closure from the list of closures that are notified when the object changes. ::: features inherited :::

[setState][([[ViewState] viewState]) → void ]

: ::: features inherited :::

[signUp][ [→ Future<[void>]] ] : Initiates the sign-up process.

[storingCredentialsInSecureStorage][ [→ Future<[void>]] ] : Storing credentials in secure storage.

[toString][ [→ String] ] : A string representation of this object. ::: features inherited :::

Operators

[operator ==][([[Object] other]) [→ bool] ] : The equality operator. ::: features inherited :::

  1. talawa
  2. signup_details_view_model
  3. SignupDetailsViewModel class
signup_details_view_model library