Skip to main content

SelectOrganizationViewModel class

SelectOrganizationViewModel class helps to interact with model to serve data and react to user's input in Select Organization View.

Methods include:

  • selectOrg
  • onTapJoin

Inheritance

: - Object

Constructors

SelectOrganizationViewModel

:

Properties

[allOrgController] [→ ScrollController] : Organization selection required data. ::: features final :::

[controller] [→ ScrollController] : Organization selection required data. ::: features final :::

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

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

[isBusy] [→ bool]

: ::: features no setterinherited :::

[organizations] [↔ List[<[OrgInfo]>]] : Organization selection required data. ::: features getter/setter pair :::

[orgId] [↔ String] : Organization selection required data. ::: features getter/setter pair :::

[qrKey] [→ GlobalKey[<[State[<[StatefulWidget]>]]>]] : Organization selection required data. ::: features final :::

[result] [↔ Barcode] : Organization selection required data. ::: features getter/setter pair :::

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

[searchController] [→ TextEditingController] : Organization selection required data. ::: features final :::

[searchFocus] [→ FocusNode] : Organization selection required data. ::: features final :::

[searching] [↔ bool] : Organization selection required data. ::: features getter/setter pair :::

[selectedOrganization] [↔ OrgInfo?] : Organization selection required data. ::: features getter/setter pair :::

[showSearchOrgList] [↔ Widget] : Organization selection required data. ::: features getter/setter pair :::

[state] [→ ViewState]

: ::: features no setterinherited :::

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 :::

[fetchMoreHelper][([[FetchMore[<[Object?]>]] fetchMore, ][[List] organizations]) → void ] : This function fetch more option.

[initialise][([[String] initialData]) [→ Future<[void>]] ] : initializer.

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

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

onTapContinue [→ void ] : Helper for listener to check if user can tap on continue option or not.

[onTapJoin][ [→ Future<[void>]] ] : This function make user to join the selected organization.

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

searchActive [→ void ] : if search is enabled.

[selectOrg][([[OrgInfo?] item]) [→ Future<[void>]] ] : This function select the organization.

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

: ::: features inherited :::

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

Operators

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

  1. talawa
  2. select_organization_view_model
  3. SelectOrganizationViewModel class
select_organization_view_model library