developerlibs / image_picker_ui Goto Github PK
View Code? Open in Web Editor NEWImage picker is provide option to pick image fro gallery and camera
License: Apache License 2.0
Image picker is provide option to pick image fro gallery and camera
License: Apache License 2.0
Hi, Thanks for this great library, but one think i need to know. How do I change the color or theme of the crop screen? Seems like by default all are orange color.
/Users/mac/Documents/Software/flutter/.pub-cache/hosted/pub.dartlang.org/image_cropper-0.0.9/android/src/main/java/vn/hunghd/flutter/plugins/imagecropper/ImageCropperDelegate.java:8: error: package android.support.annotation does not exist
import android.support.annotation.ColorInt;
^
/Users/mac/Documents/Software/flutter/.pub-cache/hosted/pub.dartlang.org/image_cropper-0.0.9/android/src/main/java/vn/hunghd/flutter/plugins/imagecropper/ImageCropperDelegate.java:110: error: cannot find symbol
private int darkenColor(@ColorInt int color) {
^
symbol: class ColorInt
location: class ImageCropperDelegate
/Users/mac/Documents/Software/flutter/.pub-cache/hosted/pub.dartlang.org/image_cropper-0.0.9/android/src/main/java/vn/hunghd/flutter/plugins/imagecropper/ImageCropperDelegate.java:109: error: cannot find symbol
@ColorInt
^
symbol: class ColorInt
location: class ImageCropperDelegate
3 errors
FAILURE: Build failed with an exception.
Compilation failed; see the compiler error output for details.
Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
Get more help at https://help.gradle.org
BUILD FAILED in 7s
The Gradle failure may have been because of AndroidX incompatibilities in this Flutter app.
See https://goo.gl/CP92wY for more information on the problem and how to fix it.
Finished with error: Gradle task assembleDebug failed with exit code 1
Looks excellent. Can you put some info in the Readme, like, does it support choosing multiple images? Is the color of the UI customizable? What's the return type of the images?
Launching lib/main.dart on AOSP on IA Emulator in debug mode...
Running Gradle task 'assembleDebug'...
/home/fredrik/flutter/.pub-cache/hosted/pub.dartlang.org/image_cropper-0.0.9/android/src/main/java/vn/hunghd/flutter/plugins/imagecropper/ImageCropperDelegate.java:8: error: package android.support.annotation does not exist
import android.support.annotation.ColorInt;
^
/home/fredrik/flutter/.pub-cache/hosted/pub.dartlang.org/image_cropper-0.0.9/android/src/main/java/vn/hunghd/flutter/plugins/imagecropper/ImageCropperDelegate.java:110: error: cannot find symbol
private int darkenColor(@ColorInt int color) {
^
symbol: class ColorInt
location: class ImageCropperDelegate
/home/fredrik/flutter/.pub-cache/hosted/pub.dartlang.org/image_cropper-0.0.9/android/src/main/java/vn/hunghd/flutter/plugins/imagecropper/ImageCropperDelegate.java:109: error: cannot find symbol
@ColorInt
^
symbol: class ColorInt
location: class ImageCropperDelegate
3 errors
FAILURE: Build failed with an exception.
Compilation failed; see the compiler error output for details.
Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
Get more help at https://help.gradle.org
BUILD FAILED in 9s
The built failed likely due to AndroidX incompatibilities in a plugin. The tool is about to try using Jetfier to solve the incompatibility.
Building plugin image_cropper...
Running Gradle task 'assembleAarRelease'...
Finished with error: ProcessException: Permission denied
Command: /home/fredrik/flutter/.pub-cache/hosted/pub.dartlang.org/image_cropper-0.0.9/android/gradlew -I=/home/fredrik/flutter/packages/flutter_tools/gradle/aar_init_script.gradle -Pflutter-root=/home/fredrik/flutter -Poutput-dir=/home/fredrik/AndroidStudioProjects/f6fp2/build/app -Pis-plugin=true -Ptarget-platform=android-arm,android-arm64,android-x64 assembleAarRelease
Example are not working and returning error on build:
Changed the version of the package to the newest and received that:
Because image_picker_ui_example depends on both image_picker_ui from hosted and image_picker_ui from path, version solving failed. pub get failed (1)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.