utils/utils
library
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
-
-
-
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
-