flutter_color_plugin icon indicating copy to clipboard operation
flutter_color_plugin copied to clipboard

A color parse package for flutter,it works on iOS and Android.

Results 4 flutter_color_plugin issues
Sort by recently updated
recently updated
newest added

Small update to add support for shorthand CSS like `#ccc`, `#000`, etc. For example `#0f0` (R: 0, G: 255, B: 0) will internally be converted to `#00ff00` first and then...

../../../flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_color_plugin-1.0.0/lib/flutter_color_plugin.dart:35:35: ../../../flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_color_plugin-1.0.0/lib/flutter_color_plugin.dart:35:35: Warning: Operand of null-aware operation '!' has type 'String' which excludes null. int? color = sColorNameMap[(colorString!.toLowerCase())]; ^ int? color = sColorNameMap[(colorString!.toLowerCase())]; ^

没有考虑'#ccc'这种情况

packages get 后 ![image](https://user-images.githubusercontent.com/11264302/58677962-85831380-8390-11e9-9172-bb030731a81e.png)