tinycolor
tinycolor copied to clipboard
upgrade to null safety
I made the required changes for the package to be sound null safe. Since it depended on Pigment which the last update was 2 years ago, to not cause any breaking change, I inlined the function that is being used. The function only parses a string as Color.
@mendieta any plans on merging and publishing the null safety version?
Sorry, I'll merge during this week.
Cheers
Cool. Need this.
@mendieta any updates here? Would be great to get the null safety release :D
Sorry - another request - can we merge the changes for null safety - this is the last package i need for me! thank you!!!
Looking forward to this π
@mendieta Guessing you're busy but any chance of merging and releasing?
Merge please.
lgtm. use of late could have been prevented, i guess..
Looks like Pigment has been updated to null-safety: https://github.com/bregydoc/pigment/commit/eb95e5ea6adddf60ccb5394456eaeae17ac76c03
@mx1up removed unnecessary late @TNorbury using Pigment again instead of copying colorFromString function
Please merge, thanks π
Merge, Please
Sorry, I'll merge during this week.
Cheers
Hi @mendieta, could you please merge :)
Would love to see this merged as well! π
In the meantime, I'm going to try migrating my codebase to null safety by depending on @lslv1243's latest commit in my pubspec.yaml like this:
dependencies:
tinycolor:
git:
url: [email protected]:lslv1243/tinycolor.git
ref: 87f654ce7b79daddfbe7cdf7b7d9bb27574a8b89
I haven't actually migrated yet, but running flutter pub outdated --mode=null-safety seems to indicated that this works:
β― flutter pub outdated --mode=null-safety
Showing dependencies that are currently not opted in to null-safety.
[β] indicates versions without null safety support.
[β] indicates versions opting in to null safety.
All your dependencies declare support for null-safety.
Hey @lslv1243, can you make a PR to community-forked repo? Thanks!
Hey @lslv1243, can you make a PR to community-forked repo? Thanks!
Hey @lslv1243, please let us know if you are too busy to make the PR. We can work on it if thatβs the case.