Giter VIP home page Giter VIP logo

hexcolor's People

Contributors

ggichure avatar guyluz11 avatar rengui-hs avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

hexcolor's Issues

The plugins `hexcolor` use a deprecated version of the Android embedding.

Hey there,

First of all thanks for the package, really useful.

I'm using it for a long time, but today i've checked this warning:

The plugins hexcolor use a deprecated version of the Android embedding.
To avoid unexpected runtime failures, or future build failures, try to see if these plugins support the Android V2 embedding. Otherwise, consider removing them since a future release of Flutter will remove these deprecated APIs.
If you are plugin author, take a look at the docs for migrating the plugin to the V2 embedding: https://flutter.dev/go/android-plugin-migration.

I don't know if this is a package issue or something with my project.

Appreciate your comments.

The Android Gradle plugin supports only Kotlin Gradle plugin version 1.5.20 and higher.

I've updated my project Android dependencies to:

classpath 'com.android.tools.build:gradle:7.3.0'
distributionUrl=https\://services.gradle.org/distributions/gradle-7.4-all.zip

and the project cannot compile with error:

FAILURE: Build failed with an exception.

* What went wrong:
The Android Gradle plugin supports only Kotlin Gradle plugin version 1.5.20 and higher.
The following dependencies do not satisfy the required version:
project ':hexcolor' -> org.jetbrains.kotlin:kotlin-gradle-plugin:1.3.50

Error: The method 'Hexcolor' isn't defined for the class 'AddCommissionScreenState'.

Try correcting the name to the name of an existing method, or defining a method named 'Hexcolor'.

Flutter Doctor

[√] Flutter (Channel stable, 2.0.3, on Microsoft Windows [Version 10.0.19041.1083], locale en-US)
• Flutter version 2.0.3 at F:\flutter_sdk\flutter
• Framework revision 4d7946a68d (4 months ago), 2021-03-18 17:24:33 -0700
• Engine revision 3459eb2436
• Dart version 2.12.2

[√] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
• Android SDK at \AppData\Local\Android\Sdk
• Platform android-30, build-tools 30.0.2
• ANDROID_HOME = \AppData\Local\Android\Sdk
• ANDROID_SDK_ROOT = \AppData\Local\Android\Sdk
• Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)
• All Android licenses accepted.

[√] Chrome - develop for the web
• Chrome at C:\Program Files (x86)\Google\Chrome\Application\chrome.exe

[√] Android Studio (version 4.1.0)
• Android Studio at C:\Program Files\Android\Android Studio
• Flutter plugin can be installed from:
https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)

[√] VS Code (version 1.58.0)
• VS Code at \AppData\Local\Programs\Microsoft VS Code
• Flutter extension version 3.24.0

[√] Connected device (4 available)
• vivo 1818 (mobile) • d14b5985 • android-arm64 • Android 11 (API 30)
• Android SDK built for x86 (mobile) • emulator-5554 • android-x86 • Android 10 (API 29) (emulator)
• Chrome (web) • chrome • web-javascript • Google Chrome 91.0.4472.124
• Edge (web) • edge • web-javascript • Microsoft Edge 91.0.864.67

• No issues found!
Process finished with exit code 0

No need of "#" in HexColor class...

We are adding

HexColor('#ffffff')

in our code..

What's the need of "#" ?

There are over thousand sites + maximum sites which show hex colors just copies the code without "#"...

Also, all he's codes start with hashtag, so making it default to enter only hex code will be easy

Hexcolor no longer work on Flutter 1.22.1 • channel stable

After update my flutter into 1.22.1 in stable channel hexcolor is not working. I try pub get, pub upgrade, run flutter doctor but still remain the problem and I didn't see any issue in flutter doctor.

C:\src\flutter\bin\flutter.bat doctor --verbose
[√] Flutter (Channel stable, 1.22.1, on Microsoft Windows [Version 10.0.18363.1082], locale en-US)
• Flutter version 1.22.1 at C:\src\flutter
• Framework revision f30b7f4db9 (4 days ago), 2020-10-08 10:06:30 -0700
• Engine revision 75bef9f6c8
• Dart version 2.10.1

[√] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
• Android SDK at D:\ProgramFiles\Sdk
• Platform android-30, build-tools 30.0.2
• ANDROID_HOME = D:\ProgramFiles\Sdk
• Java binary at: D:\ProgramFiles\Android\Android Studio\jre\bin\java
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)
• All Android licenses accepted.

[√] Android Studio (version 4.0)
• Android Studio at D:\ProgramFiles\Android\Android Studio
• Flutter plugin version 50.0.1
• Dart plugin version 193.7547
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)

[√] VS Code (version 1.50.0)
• VS Code at C:\Users\RBFBD LTD\AppData\Local\Programs\Microsoft VS Code
• Flutter extension version 3.15.0

[√] Connected device (1 available)
• HTC One M9 (mobile) • HC4BRYC12938 • android-arm64 • Android 6.0 (API 23)

• No issues found!
Process finished with exit code 0

hexcolor-swift.h header not found

I am having this error:

HexcolorPlugin.m:2:9: fatal error: 'hexcolor/hexcolor-Swift.h' file not found
    #import <hexcolor/hexcolor-Swift.h>

`hexcolor` does not specify a Swift version

Getting following error while building a XCFramework from flutter module.

**[!] Unable to determine Swift version for the following pods:

  • hexcolor does not specify a Swift version and none of the targets (Runner) integrating it have the SWIFT_VERSION attribute set. Please contact the author or set the SWIFT_VERSION attribute in at least one of the targets that integrate this pod.**

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.