utils/utils library

Enums

PageState

Properties

appBuildNumber Future<String>
no setter
appName Future<String>
no setter
appPackageName Future<String>
no setter
appVersion Future<String>
no setter
context BuildContext
getter/setter pair
currentLocale Locale?
getter/setter pair
isAndroid bool
getter/setter pair
isDebugMode bool
getter/setter pair
isDesktop bool
getter/setter pair
isFuchsia bool
getter/setter pair
isIos bool
getter/setter pair
isLandScape bool
getter/setter pair
isLinux bool
getter/setter pair
isMacOs bool
getter/setter pair
isMobile bool
getter/setter pair
isPhone bool
getter/setter pair
isPortrait bool
getter/setter pair
isTablet bool
getter/setter pair
isWeb bool
getter/setter pair
isWindows bool
getter/setter pair
screenHeight double
getter/setter pair
screenWidth double
getter/setter pair
textTheme TextTheme
getter/setter pair
theme ThemeData
getter/setter pair

Functions

back() → void
call(String phone) → void
cropImage({required File file, dynamic action(CroppedFile file)?, int? maxWidth, int? maxHeight, CropStyle cropStyle = CropStyle.rectangle, CropAspectRatio cropAspectRatio = const CropAspectRatio(ratioX: 3, ratioY: 1.2), ImageCompressFormat imageCompressFormat = ImageCompressFormat.png, AndroidUiSettings? androidUiSettings, IOSUiSettings? iOSUiSettings, List<CropAspectRatioPreset> aspectRatioPresets = const <CropAspectRatioPreset>[CropAspectRatioPreset.original, CropAspectRatioPreset.square, CropAspectRatioPreset.ratio3x2, CropAspectRatioPreset.ratio4x3, CropAspectRatioPreset.ratio16x9]}) Future<CroppedFile?>
delay(int milliseconds, VoidCallback action) → void
dialog(Widget page, {bool dialog = false, VoidCallback? onDismiss}) Future<void>
dismissEasyLoading() Future<void>
email(String email, String subject) → void
isEasyLoadingShow() bool
launchInstagram(String username, {LaunchMode mode = LaunchMode.externalApplication}) → void
launchLinkedIn(String username, {LaunchMode mode = LaunchMode.externalApplication}) → void
launchTelegram(String id, {LaunchMode mode = LaunchMode.externalApplication}) → void
launchTwitter(String username, {LaunchMode mode = LaunchMode.externalApplication}) → void
launchURL(String url, {LaunchMode mode = LaunchMode.externalApplication}) Future<void>
launchWhatsApp(String number, {LaunchMode mode = LaunchMode.externalApplication}) → void
launchYouTube(String username, {LaunchMode mode = LaunchMode.externalApplication}) → void
off(Widget page) → void
offAll(Widget page, {bool dialog = false, Transition transition = Transition.cupertino, int milliSecondDelay = 1}) Future<void>
push(Widget page, {bool dialog = false, Transition transition = Transition.cupertino, bool preventDuplicates = true, int milliSecondDelay = 1}) Future<void>
shareFile(List<XFile> pathFiles, String text) → void
shareText(String text, {String? subject}) → void
showEasyError() Future<void>
showEasyLoading() Future<void>
showFilePicker({required dynamic action(List<File> file), FileType fileType = FileType.image, bool allowMultiple = false, List<String>? allowedExtensions}) → void
sms(String phone) → void
updateLocale(Locale locale) → void