Skip to content

Commit

Permalink
HexColor('#000'), parsed as transparent
Browse files Browse the repository at this point in the history
  • Loading branch information
ggichure committed Apr 27, 2022
1 parent be91152 commit 2471d5d
Show file tree
Hide file tree
Showing 8 changed files with 41 additions and 6 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@
*.ipr
*.iws
.idea/
pubspec.lock
example/pubspec.lock


# The .vscode folder contains launch configuration and tasks you configure in
# VS Code which you may wish to be included in version control, so this line
Expand Down
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# 2.07
When using HexColor('#000'), this will be parsed as transparent, because Color(0) == Colors.transparent

## 2.0.6
support for dart 2.15
added buy me a coffee
Expand Down
2 changes: 1 addition & 1 deletion example/.flutter-plugins-dependencies
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"info":"This is a generated file; do not edit or check into version control.","plugins":{"ios":[{"name":"hexcolor","path":"/Users/ggriffo/devp/foss/hexcolor/","dependencies":[]}],"android":[{"name":"hexcolor","path":"/Users/ggriffo/devp/foss/hexcolor/","dependencies":[]}],"macos":[],"linux":[],"windows":[],"web":[]},"dependencyGraph":[{"name":"hexcolor","dependencies":[]}],"date_created":"2022-01-17 20:36:32.736143","version":"2.8.0"}
{"info":"This is a generated file; do not edit or check into version control.","plugins":{"ios":[{"name":"hexcolor","path":"/Users/ggriffo/devp/foss/hexcolor/","dependencies":[]}],"android":[{"name":"hexcolor","path":"/Users/ggriffo/devp/foss/hexcolor/","dependencies":[]}],"macos":[],"linux":[],"windows":[],"web":[]},"dependencyGraph":[{"name":"hexcolor","dependencies":[]}],"date_created":"2022-04-27 08:40:36.668862","version":"2.10.4"}
2 changes: 1 addition & 1 deletion example/android/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
additional functionality it is fine to subclass or reimplement
FlutterApplication and put your custom class here. -->
<application
android:name="io.flutter.app.FlutterApplication"
android:name="HexColor"
android:label="hexcolor_example"
android:icon="@mipmap/ic_launcher">
<activity
Expand Down
25 changes: 23 additions & 2 deletions example/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,13 @@ packages:
description: flutter
source: sdk
version: "0.0.0"
flutter_lints:
dependency: "direct dev"
description:
name: flutter_lints
url: "https://pub.dartlang.org"
source: hosted
version: "1.0.4"
flutter_test:
dependency: "direct dev"
description: flutter
Expand All @@ -78,21 +85,35 @@ packages:
path: ".."
relative: true
source: path
version: "2.0.6"
version: "2.0.7"
js:
dependency: transitive
description:
name: js
url: "https://pub.dartlang.org"
source: hosted
version: "0.6.3"
lints:
dependency: transitive
description:
name: lints
url: "https://pub.dartlang.org"
source: hosted
version: "1.0.1"
matcher:
dependency: transitive
description:
name: matcher
url: "https://pub.dartlang.org"
source: hosted
version: "0.12.11"
material_color_utilities:
dependency: transitive
description:
name: material_color_utilities
url: "https://pub.dartlang.org"
source: hosted
version: "0.1.3"
meta:
dependency: transitive
description:
Expand Down Expand Up @@ -153,7 +174,7 @@ packages:
name: test_api
url: "https://pub.dartlang.org"
source: hosted
version: "0.4.3"
version: "0.4.8"
typed_data:
dependency: transitive
description:
Expand Down
1 change: 1 addition & 0 deletions example/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ dependencies:
dev_dependencies:
flutter_test:
sdk: flutter
flutter_lints:

hexcolor:
path: ../
Expand Down
9 changes: 8 additions & 1 deletion pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,13 @@ packages:
url: "https://pub.dartlang.org"
source: hosted
version: "0.12.11"
material_color_utilities:
dependency: transitive
description:
name: material_color_utilities
url: "https://pub.dartlang.org"
source: hosted
version: "0.1.3"
meta:
dependency: transitive
description:
Expand Down Expand Up @@ -139,7 +146,7 @@ packages:
name: test_api
url: "https://pub.dartlang.org"
source: hosted
version: "0.4.3"
version: "0.4.8"
typed_data:
dependency: transitive
description:
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: hexcolor
description: A flutter plugin for bringing hex colors to dart hexcolorPlugin.
version: 2.0.6
version: 2.0.7


homepage: https://github.com/ggichure/hexcolor
Expand Down

0 comments on commit 2471d5d

Please sign in to comment.