UAdminContentController class
- Inheritance
-
- Object
- UBaseController
- UAdminContentController
Constructors
Properties
-
final
-
final
- descriptionController → TextEditingController
-
final
- detail1Controller → TextEditingController
-
final
- detail2Controller → TextEditingController
-
final
- editing ↔ UContentResponse?
-
getter/setter pair
- endDate ↔ DateTime?
-
getter/setter pairinherited
- endDateController → TextEditingController
-
finalinherited
-
formKey
→ GlobalKey<
FormState> -
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- iconBase64 ↔ String?
-
getter/setter pair
- imageBase64 ↔ String?
-
getter/setter pair
- instagramController → TextEditingController
-
final
-
items
↔ List<
UAdminContentItemForm> -
getter/setter pair
- linkController → TextEditingController
-
final
-
links
↔ List<
UAdminContentLinkForm> -
getter/setter pair
-
list
↔ List<
UContentResponse> -
getter/setter pair
- orderController → TextEditingController
-
final
- pageNumber → URxInt
-
finalinherited
- pageSize ↔ int
-
getter/setter pairinherited
- phoneController → TextEditingController
-
final
- 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 pairinherited
- startDateController → TextEditingController
-
finalinherited
- state → URxState
-
finalinherited
- subTitleController → TextEditingController
-
final
- tag ↔ TagContent
-
getter/setter pair
- tagFilter ↔ TagContent?
-
getter/setter pair
-
tagOrderBy
→ URx<
TagOrderBy> -
finalinherited
- telegramController → TextEditingController
-
final
- titleController → TextEditingController
-
final
- totalCount ↔ int
-
getter/setter pairinherited
- totalPages → URxInt
-
finalinherited
- whatsappController → TextEditingController
-
final
Methods
-
addItem(
) → void -
addLink(
) → void -
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
callthrough send. Defaults to a delete prompt.inherited -
delete(
UContentResponse 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 withsuper.dispose().override -
init(
) → Future< void> -
intOf(
TextEditingController c) → int? -
inherited
-
loadForm(
UContentResponse? p) → 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 -
removeItem(
int index) → void -
removeLink(
int index) → void -
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 runsreload, otherwise toasts the error. Returns the ok response (on create itsresultis 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
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
tagOf(
UContentResponse i) → TagContent?