BusyServiceManagement mixin
Mixin to manage the busy state using BusyService.
Provides utilities to set the busy state with optional title, message, minimum duration and busy type. Also exposes getters for busy title, busy message and busy state itself.
Properties
- busyMessage → String?
-
Getter for the busy message.
no setter
- busyTitle → String?
-
Getter for the busy title.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- isBusy → bool
-
Getter for the busy state.
no setter
-
isBusyListenable
→ ValueListenable<
BusyModel> -
ValueListenable for the busy state.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
disposeBusyManagement(
) → void - Dispose the BusyService used in this mixin.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setBusy(
bool isBusy, {String? busyTitle, String? busyMessage, Duration minBusyDuration = kValuesMinBusyDuration, BusyType? busyType, Duration? timeoutDuration, VoidCallback? onTimeout, dynamic payload}) → void - Sets the busy state.
-
setIdle(
) → void - Sets the busy state to idle.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited