NeoDashboardController class

Inheritance

Constructors

NeoDashboardController()

Properties

authController AuthenticationController
final
body String
final
currentPage RxInt
getter/setter pair
currentSearchHistoryPage RxInt
final
dateFromController TextEditingController
getter/setter pair
dateToController TextEditingController
getter/setter pair
departureDateFilterController TextEditingController
getter/setter pair
email String
final
expandedIndex RxInt
final
flightFilterType RxString
getter/setter pair
flightsStats Rx<BookingStats?>
getter/setter pair
flightTypeFilters List<String>
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
hasListeners bool
no setterinherited
initialized bool
Checks whether the controller has already been initialized.
no setterinherited
isClosed bool
Checks whether the controller has already been closed.
no setterinherited
isFilterDrawer RxBool
final
isPaymentTransactionLoading RxBool
getter/setter pair
isRefreshingRates RxBool
final
isScrollingUp RxBool
getter/setter pair
latestHistory GlobalKey<State<StatefulWidget>>
final
listeners int
no setterinherited
myFlightsController MyFlightsController
final
mySharedBenefits_CurrentPage RxInt
getter/setter pair
mySharedBenefits_Data RxList<Map<String, String>>
getter/setter pair
mySharedBenefits_PaginatedData RxList<Map<String, String>>
getter/setter pair
mySharedBenefits_RowsPerPage RxInt
getter/setter pair
mySharedBenefits_TotalPages RxInt
final
onDelete InternalFinalCallback<void>
Internal callback that starts the cycle of this controller.
finalinherited
onStart InternalFinalCallback<void>
Called at the exact moment the widget is allocated in memory. It uses an internal "callable" type, to avoid any @overrides in subclases. This method should be internal and is required to define the lifetime cycle of the subclass.
finalinherited
paymentMethod RxString
getter/setter pair
paymentPurpose RxString
getter/setter pair
paymentStatus RxString
getter/setter pair
paymentTransactions RxList<Transactions>
getter/setter pair
reachedStart RxBool
getter/setter pair
requestDateFilterController TextEditingController
getter/setter pair
rowsPerPage RxInt
getter/setter pair
rowsSearchHistoryPerPage RxInt
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
savingFilterType RxString
getter/setter pair
savings_CurrentPage RxInt
getter/setter pair
savings_Data RxList<Map<String, String>>
getter/setter pair
savings_PaginatedData RxList<Map<String, String>>
getter/setter pair
savings_RowsPerPage RxInt
getter/setter pair
savings_TotalPages RxInt
final
savingStats Rx<BookingStats?>
getter/setter pair
searchFocusNode FocusNode
getter/setter pair
searchHistoryList RxList<Data>
final
selectedHistoryIndex RxInt
final
selectedIndex RxInt
getter/setter pair
subject String
final
tempflightTypeFilter RxString
getter/setter pair
totalPages RxInt
getter/setter pair
totalRequests RxInt
getter/setter pair
totalSaved Rx<TotalSavedModel?>
final
totalSearchHistoryPages RxInt
final
totalSearchHistoryRequests RxInt
final
transaction_CurrentPage RxInt
getter/setter pair
transaction_Data RxList<Map<String, String>>
getter/setter pair
transaction_PaginatedData RxList<Map<String, String>>
getter/setter pair
transaction_RowsPerPage RxInt
getter/setter pair
transaction_TotalPages RxInt
final
tripTypeFilter RxList<TripType>
getter/setter pair
upcomingFlightsList RxList<BookingHistory>
getter/setter pair

Methods

$configureLifeCycle() → void
inherited
addListener(GetStateUpdate listener) Disposer
Register a closure to be called when the object notifies its listeners.
inherited
addListenerId(Object? key, GetStateUpdate listener) Disposer
inherited
applyFilter() → void
applySearchHistoryFilter() → void
buildUrl() String
clearFilter() → void
clearSearchHistoryFilterFields() → void
dispose() → void
inherited
disposeId(Object id) → void
To dispose an id from future updates(), this ids are registered by GetBuilder() or similar, so is a way to unlink the state change with the Widget from the Controller.
inherited
getBookingStats(String filterType, [String? changeSource]) Future
getHistoryByUser({List<String>? tripType, String? flightClass, String? departureDate, String? requestedDate}) Future<bool>
getTotalSaved() Future<bool>
getUpComingFlights({bool showLoadingDialog = true}) Future<void>
getUserPaymentTransactions({String? purpose}) Future<RxList<Transactions>>
goToPage(int index) → void
goToSearchHistoryPage(int index) → void
launchEmail() → void
mySharedBenefits_FetchData() → void
mySharedBenefits_GoToPage(int index) → void
mySharedBenefits_NextPage() → void
mySharedBenefits_OpenFilter() → void
mySharedBenefits_PreviousPage() → void
mySharedBenefits_UpdatePaginatedData() → void
mySharedBenefits_UpdateRowsPerPage(int value) → void
nextPage() → void
nextSearchHistoryPage() → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
notifyChildrens() → void
inherited
onClose() → void
Called before onDelete method. onClose might be used to dispose resources used by the controller. Like closing events, or streams before the controller is destroyed. Or dispose objects that can potentially create some memory leaks, like TextEditingControllers, AnimationControllers. Might be useful as well to persist some data on disk.
override
onInit() → void
Called immediately after the widget is allocated in memory. You might use this to initialize something for the controller.
override
onReady() → void
Called 1 frame after onInit(). It is the perfect place to enter navigation events, like snackbar, dialogs, or a new route, or async request.
override
onTapDateFrom(bool fromDate) → void
onTapDepartureDate() → void
onTapRequestedDate() → void
previousPage() → void
previousSearchHistoryPage() → void
refresh() → void
inherited
refreshGroup(Object id) → void
inherited
removeListener(VoidCallback listener) → void
Remove a previously registered closure from the list of closures that the object notifies.
inherited
removeListenerId(Object id, VoidCallback listener) → void
inherited
savings_FetchData() → void
savings_GoToPage(int index) → void
savings_NextPage() → void
savings_OpenFilter() → void
savings_PreviousPage() → void
savings_UpdatePaginatedData() → void
savings_UpdateRowsPerPage(int value) → void
scrollTopPagination() → void
selectNumRows(int rows) → void
selectSearchHistoryNumRows(int rows) → void
setSelectedIndex(int index) → void
toggleExpanded(int index) → void
toString() String
A string representation of this object.
inherited
transaction_FetchData() → void
transaction_GoToPage(int index) → void
transaction_NextPage() → void
transaction_OpenFilter() → void
transaction_PreviousPage() → void
transaction_UpdatePaginatedData() → void
transaction_UpdateRowsPerPage(int value) → void
update([List<Object>? ids, bool condition = true]) → void
Rebuilds GetBuilder each time you call update(); Can take a List of ids, that will only update the matching GetBuilder( id: ), ids can be reused among GetBuilders like group tags. The update will only notify the Widgets, if condition is true.
inherited

Operators

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