MyFlightsController class

Inheritance

Constructors

MyFlightsController()

Properties

appliedFilter RxBool
getter/setter pair
authenticationController AuthenticationController
final
autoScrollIndex int
getter/setter pair
bookingHistory Rx<BookingHistoryModel>
getter/setter pair
box GetStorage
final
counter RxMap
getter/setter pair
currency String
no setter
currencyValues Map<String, String>
final
currentPage RxInt
getter/setter pair
currentRatesPage RxInt
getter/setter pair
dateFormat DateFormat
final
departureDateFilterController TextEditingController
getter/setter pair
expandedBookingId RxnString
getter/setter pair
expandedPassengerId RxnString
getter/setter pair
expandedRateId RxnString
getter/setter pair
filteredBookingList List<BookingHistory>?
no setter
flightTypeFilters List<String>
getter/setter pair
fromManageBooking RxBool
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
isDepartureExpanded RxBool
getter/setter pair
isFilterDrawer RxBool
getter/setter pair
isLoading RxBool
getter/setter pair
isLoadingRates RxBool
getter/setter pair
isMilesUsed RxBool
getter/setter pair
isReturnExpanded RxBool
getter/setter pair
isRoundTrip bool
no setter
listeners int
no setterinherited
milesPercentage int
no setter
neoMileValue RxDouble
getter/setter pair
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
pageSize RxInt
getter/setter pair
paymentMethodFilter Rx<String>
getter/setter pair
ratesCounter RxMap
getter/setter pair
ratesHistory Rx<BookingHistoryModel>
/////////////////////// ///////////////////////
getter/setter pair
ratesPageSize RxInt
getter/setter pair
ratesTimer RxMap
getter/setter pair
requestDateFilterController TextEditingController
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
savedCounter RxMap
getter/setter pair
savedTimer RxMap
getter/setter pair
searchFlightsTextController TextEditingController
getter/setter pair
searchQuery Rx<String>
getter/setter pair
selectedBooking Rx<BookingHistory>
getter/setter pair
selectedflightTypeFilter RxString
getter/setter pair
selectedRate Rx<BookingHistory>
getter/setter pair
statusFilter Rxn<BookingStatus>
getter/setter pair
tempflightTypeFilter RxString
getter/setter pair
tempStatusFilter Rxn<BookingStatus>
getter/setter pair
timers RxMap
getter/setter pair
totalBasePrice double
no setter
totalDiscountedAmount double
no setter
totalPages RxInt
getter/setter pair
totalRatesPages RxInt
getter/setter pair
totalRatesRows RxInt
getter/setter pair
totalRows RxInt
getter/setter pair
tripTypeFilter RxList<TripType>
getter/setter pair
userEmail String
no setter

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
cancelBooking(BookingHistory history) → void
clear() → void
clearFilter() → void
clearFilterFields() → void
clearRates() → void
confirmRefundRequest(BookingHistory history) → void
confirmReservedBooking(BookingHistory history) → void
createRatesTimers() → void
createSavedTimers() → void
createTimers() → 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
downloadInvoice(BookingHistory history) → dynamic
getBookingHistory({bool showLoadingDialog = true, bool returnValue = false}) Future<void>
getMileCurrentPrice() Future<void>
getQuery() → dynamic
getRatesHistory({bool showLoadingDialog = true}) Future<void>
getRemainingTime(BookingHistory item) int
goToPayment(BookingHistory history) → dynamic
initMyFlights() → void
loadFlights() → void
loadMore() → void
loadMoreRates() → 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() Future<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.
inherited
onTapDepartureDate() → void
onTapRequestedDate() → void
refresh() → void
inherited
refreshBooking() Future<void>
refreshGroup(Object id) → void
inherited
reloadBookingById(String bookingId) → void
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
startRatesTimer(BookingHistory item) → void
startSavedTimer(BookingHistory item) → void
startTimer(BookingHistory item) → void
toggleExpanded(String? bookingId) Future<void>
toggleExpandedRate(String? bookingId) Future<void>
toString() String
A string representation of this object.
inherited
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