AtSyncUIService class Null safety

Inheritance

Constructors

AtSyncUIService()
factory

Properties

atSyncUIListener Stream<AtSyncUIStatus>
atSyncUIListener can be used to listen to sync status changes
read-only
atSyncUIOverlay AtSyncUIOverlay
read / write
atSyncUIStyle AtSyncUIStyle
read / write
hashCode int
The hash code for this object.
read-onlyinherited
onAtSignRemoved Function?
read / write
onErrorCallback Function?
read / write
onSuccessCallback Function?
read / write
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
showRemoveAtsignOption bool
read / write
showTextWhileSyncing bool
read / write
syncProgressCallback Function?
read / write
syncService ↔ SyncService
read / write

Methods

cancelTimer() → dynamic
init({required GlobalKey<NavigatorState> appNavigator, AtSyncUIOverlay? atSyncUIOverlay = AtSyncUIOverlay.dialog, AtSyncUIStyle? style, bool? showTextWhileSyncing, Function? onSuccessCallback, Function? onErrorCallback, Function? syncProgressCallback, Function? onAtSignRemoved, Color? primaryColor, Color? backgroundColor, Color? labelColor, bool showRemoveAtsignOption = false}) → void
appNavigator is used for navigation purpose atSyncUIOverlay decides whether dialog or snackbar to be shown while syncing style if material or cupertino style to be applied showTextWhileSyncing should text be shown while syncing onSuccessCallback called after successful sync onErrorCallback called after failure in sync syncProgressCallback Notifies the registered listener for the SyncProgress primaryColor,backgroundColor, labelColor will be used while displaying overlay/snackbar. if showRemoveAtsignOption is true, onAtSignRemoved will be called if atSign is removed successfully from device
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
onSyncProgressEvent(SyncProgress syncProgress) → void
Notifies the registered listener for the SyncProgress Caller has to register the listener using atClientManager.syncService.addProgressListener(...) Caller can use SyncProgress.atSign to know for which atSign the event was triggered.
override
sync({AtSyncUIOverlay atSyncUIOverlay = AtSyncUIOverlay.none, bool startTimer = true}) → void
calls sync and shows selected UI atSyncUIOverlay decides whether dialog or snackbar to be shown while syncing
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited