Image Picker that can be used to pick an image from storage or make a picture with your camera.
Find a file
2022-09-01 10:22:32 +02:00
.vscode Made first version of image picker 2022-08-31 10:09:36 +02:00
example added documentation in the code 2022-09-01 10:22:32 +02:00
lib added documentation in the code 2022-09-01 10:22:32 +02:00
test more code improvements and added some documentation in the readme 2022-08-31 16:54:45 +02:00
.flutter-plugins Added more folders 2022-08-29 15:10:34 +02:00
.flutter-plugins-dependencies Replaced the alert dialog with modal bottom sheet 2022-08-31 11:45:12 +02:00
.gitignore Initial Commit 2022-08-29 14:52:48 +02:00
.metadata Initial Commit 2022-08-29 14:52:48 +02:00
analysis_options.yaml Initial Commit 2022-08-29 14:52:48 +02:00
CHANGELOG.md Code improvements and removed calculator 2022-08-31 10:19:57 +02:00
LICENSE Initial Commit 2022-08-29 14:52:48 +02:00
pubspec.yaml Made first version of image picker 2022-08-31 10:09:36 +02:00
README.md readme improvements 2022-08-31 17:05:15 +02:00

Flutter Image Picker

Flutter Image Picker is a package you can use to implement an Image Picker in your Flutter app.

Features

With the Flutter Image Picker you can select an existing picture from the gallery or make a picture with the camera to use in your app.

Usage

To use this package, add flutter_image_picker as a dependency in your pubspec.yaml file.

Example

See the Example Code for an example on how to use this package.

You can add optional parameters to the showImagePickerDialog(context) function call. These are:

Parameter Explaination
title The title that's shown at the top of the Image Picker Dialog in the bottom of the screen
titleTextSize The font size of the title mentioned above
iconSize The size of the icons that are shown in the Image Picker Dialog
iconTextSize The font size of the text underneath the icons in the Image Picker Dialog
spaceBetweenIcons The space in pixels between the two icons in the Image Picker Dialog
makePhotoIcon The icon that is shown as the Make Photo button
makePhotoText The text that is shown underneath the Make Photo icon in the Image Picker Dialog
selectImageIcon The icon that is shown as the Select Image button
selectImageText The text that is shown underneath the Select Image icon in the Image Picker Dialog
closeButtonText The text that is visible on the button that is shown at the bottom of the Image Picker Dialog that closes the dialog