util/file_pick_and_crop
library
Functions
-
cPickAndCropImage(BuildContext context, {dynamic cropDisable = false, Widget? title, dynamic aspectRatio = 1.7, dynamic allowedExtensions = const ['png', 'jpg', 'jpeg', 'webp'], int? maxFileSizeInBytes, required dynamic okButton(Uint8List data, String fileName), required dynamic cancelButton(), dynamic errors(String message)?})
→ dynamic
-
Opens a file picker dialog allowing the user to select an image file, optionally crop it, and then perform actions based on user interaction.
-
getPlaceHolderImage({required double w, required double h, String? backgroundColor, String textColor = 'FFFFFF'})
→ String
-
Returns a URL for a placeholder image with the specified dimensions and colors.