hasan_utils library

Classes

Alert
Api
ApiAuthorization
ApiInterceptor
ApiRequestOptions
AppInfo
ColorUtils
FcmOtpVerifier
Firebase phone auth: the phone gets the code, Firebase checks it.
FileDownloader
FileUtils
ImagePickerHelper
InternetChecker
JsonPersistence
Launcher
Opens external links: https, mailto, tel, sms, whatsapp, ...
LoadingOverlay
LocalPersistence
OtpConfig
App-owned wording for the verifiers: the package never holds copy.
OtpVerifier
Persistence
PersistenceEngine
PushActionHandler
PushMessage
PushNotificationsBase
FCM push notification engine.
RemoteMessage
A class representing a message sent from Firebase Cloud Messaging.
ScreenInsets
Storage
SystemOtpVerifier
Codes the server sends and the server checks: otp/{slug}/send|confirm.
TextInputController
A text controller that hands back trimmed input. Typing is untouched — the trimming happens when the value is read.
Toast
Validate
WhatsAppOtpVerifier

Enums

ImagePickerSource
OtpVerificationProvider
Which side sends the code, as otp/check reports it.
PushAlertBehavior
ToastGravity
ToastLength

Properties

deviceOS → String
no setter

Typedefs

OtpConfirmResultCallback = void Function(String? otpUserId, String? otpUserIdToken, bool continueLoading, bool isConfirmed)
OtpErrorCallback = void Function(String? message, String? debugError)

Exceptions / Errors

ApiErrorException