fx_image_picker/src/fx_image_picker 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?>
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
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?>