UBaseController class abstract
- Implementers
- UAdminApiLogController
- UAdminBlogController
- UAdminContentController
- UAdminFinancialOpsDashboardController
- UAdminGoldController
- UAdminHotelContractController
- UAdminHotelController
- UAdminHotelDashboardController
- UAdminHotelDormBedController
- UAdminHotelDormController
- UAdminHotelDormRoomController
- UAdminHotelInvoiceController
- UAdminHotelReservationController
- UAdminHotelReviewController
- UAdminHotelRoomController
- UAdminHotelUserController
- UAdminLoginController
- UAdminParkingController
- UAdminParkingPlateFlagController
- UAdminParkingReportController
- UAdminParkingShiftController
- UAdminParkingStaffController
- UAdminParkingSubscriptionController
- UAdminParkingTariffController
- UAdminPaymentMerchantController
- UAdminPaymentMoadiController
- UAdminPaymentTerminalBrandController
- UAdminPaymentTerminalBrokerController
- UAdminPaymentTerminalController
- UAdminPaymentUserController
- UAdminSplashController
- UAdminWalletAccountingController
- UAdminWalletController
- UAdminWalletTransactionController
Constructors
Properties
- endDate ↔ DateTime?
-
getter/setter pair
- endDateController → TextEditingController
-
final
-
formKey
→ GlobalKey<
FormState> -
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- pageNumber → URxInt
-
final
- pageSize ↔ int
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- startDate ↔ DateTime?
-
The list filter's date range, shown in startDateController / endDateController.
getter/setter pair
- startDateController → TextEditingController
-
final
- state → URxState
-
final
-
tagOrderBy
→ URx<
TagOrderBy> -
final
- totalCount ↔ int
-
getter/setter pair
- totalPages → URxInt
-
final
Methods
-
clearDates(
) → void -
confirmAction(
Future< (dynamic, dynamic, String?)> call(), void reload(), {String? title, String? message}) → void -
Asks for confirmation (the dialog closes itself), then runs
callthrough send. Defaults to a delete prompt. -
dispose(
) → void -
Releases everything this controller owns. The page that created the controller calls this from its own
State.dispose(); a subclass that adds its own notifiers overrides this and ends withsuper.dispose(). -
intOf(
TextEditingController c) → int? -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
numOf(
TextEditingController c) → double? -
The number typed in
c(Persian digits and separators allowed); null when empty. -
readUsersById(
List< String> ids) → Future<List< UUserResponse> > -
The users with
ids; the ones that fail to load are skipped. -
searchUsers(
String query) → Future< List< UUserResponse> > -
Users matching
query, for user pickers. -
send<
T> (Future< (T?, Object?, String?)> call, VoidCallback? reload) → Future<T?> -
Awaits a service call's
(ok, error, exception)result: on success toasts and runsreload, otherwise toasts the error. Returns the ok response (on create itsresultis the new id), or null when it failed. -
setError(
[String? message]) → void -
setTotalPages(
int count) → void -
splitList(
String text) → List< String> -
"a, b، c" →
"a", "b", "c"(Latin and Persian commas). -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited