Git Product home page Git Product logo

image_picker_ui's People

Contributors

developerlibs avatar sunilkmrnishad avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

image_picker_ui's Issues

Chnage color for crop screen header bar

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.

"error with image_cropper-0.0.9" i think you want to update image_cropper version to latest please change it

/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.

  • What went wrong:
    Execution failed for task ':image_cropper:compileDebugJavaWithJavac'.

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

Docs

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?

Incompatible with AndroidX

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.

  • What went wrong:
    Execution failed for task ':image_cropper:compileDebugJavaWithJavac'.

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 don't work

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.