all_in_one_image library
Functions
-
loadByteArray(
Uint8List byteArray, String mimeType) → Widget - Loads a byte array and a mime type and returns a widget that can display it.
-
loadImage(
File imageFile) → Widget - Loads an image file and returns a widget that can display it.
-
loadImageFromAsset(
String assetName) → Widget - Loads an image from an asset and returns a widget that can display it.
-
loadImageFromUrl(
String url) → Future< Widget?> - Loads an image from a network URL and returns a widget that can display it.
-
pickImage(
) → Future< File?> - Opens the device's gallery and returns a File object representing the selected image.