UAdminWalletTransactionController class
Methods
-
applyFilters()
→ void
-
-
clearDates()
→ void
-
inherited
-
clearFilters()
→ void
-
-
confirmAction(Future<(dynamic, dynamic, String?)> call(), void reload(), {String? title, String? message})
→ void
-
Asks for confirmation (the dialog closes itself), then runs
call through send. Defaults to a delete prompt.
inherited
-
delete(UTxnResponse i)
→ void
-
-
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 with super.dispose().
override
-
init()
→ Future<void>
-
-
intOf(TextEditingController c)
→ int?
-
inherited
-
loadForm(UTxnResponse? t)
→ void
-
-
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.
inherited
-
read()
→ Future<void>
-
-
readUsersById(List<String> ids)
→ Future<List<UUserResponse>>
-
The users with
ids; the ones that fail to load are skipped.
inherited
-
save()
→ Future<bool>
-
-
searchUsers(String query)
→ Future<List<UUserResponse>>
-
Users matching
query, for user pickers.
inherited
-
send<T>(Future<(T?, Object?, String?)> call, VoidCallback? reload)
→ Future<T?>
-
Awaits a service call's
(ok, error, exception) result: on success toasts and runs reload, otherwise toasts the error.
Returns the ok response (on create its result is the new id), or null when it failed.
inherited
-
setError([String? message])
→ void
-
inherited
-
setTotalPages(int count)
→ void
-
inherited
-
splitList(String text)
→ List<String>
-
"a, b، c" →
"a", "b", "c" (Latin and Persian commas).
inherited
-
toString()
→ String
-
A string representation of this object.
inherited