fx library

Functions

cameraCrop(dynamic filePath, {CropAspectRatio? aspectRatio, String toolbarTitle = 'Crop Image', Color toolbarColor = Colors.red, Color toolbarWidgetColor = Colors.white, bool hideBottomControls = true, bool lockAspectRatio = false}) Future<File?>
fxCanAccessCamera() Future<bool>
fxCanAccessGallery() Future<bool>
fxCanAccessLocation() Future<bool>
galleryCrop({required File imageFile, String toolbarTitle = 'Crop Image', Color toolbarColor = Colors.red, Color toolbarWidgetColor = Colors.white, Color backgroundColor = Colors.black, bool hideBottomControls = true, bool lockAspectRatio = false}) Future<File?>
getImageFromCamera({required Color buttonColor, double? imageHeight, double? imageWidth, int? imageQuality}) → dynamic
getImageFromGallery({required Color buttonColor, bool pickMultiple = false, double? imageHeight, double? imageWidth, int? imageQuality}) → dynamic
showFXGalleryView({required List<FXGalleryImage> itemList, bool barrierDismissible = true, Color barrierColor = Colors.black38, Color textColor = Colors.white, Color indicatorActiveColor = Colors.white, Color indicatorInactiveColor = Colors.white54, Color descriptionBackgroundColor = Colors.black26, Widget errorBuilder(BuildContext, Object, StackTrace?)?}) → dynamic
showImagePickerBottomSheet({required bool cropImage, required bool useImagePicker, Color iconColor = Colors.grey, Color fontColor = Colors.black, EdgeInsetsGeometry padding = const EdgeInsets.symmetric(horizontal: marginX2), double modalFontSize = fontSizeL, File? image, CropAspectRatio? aspectRatio, String toolBarTitle = 'Crop Image', Color toolbarColor = Colors.grey, Color toolbarWidgetColor = Colors.white, bool hideBottomControls = true, bool lockAspectRatio = false, double? imageHeight, double? imageWidth, int? imageQuality, ResolutionPreset resolutionPreset = ResolutionPreset.medium, bool pickMultiple = false}) Future<Object?>
showUpdateDialog({required String appName, required String version, required String appStoreId, required String androidId, Color appNameColor = Colors.black, double appNameFontSize = fontSizeL, double versionFontSize = fontSizeM, bool updateLater = false, Color buttonColor = Colors.grey, String laterText = 'ภายหลัง', String updateText = 'อัพเดต', Color updateColor = Colors.grey}) → dynamic