Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate to null-safety #263

Merged
merged 11 commits into from
Mar 17, 2021
Merged

Conversation

IchordeDionysos
Copy link
Contributor

Migrates the package to support null-safety. 🚀

Closes #260.

@IchordeDionysos IchordeDionysos marked this pull request as draft March 6, 2021 20:44
Comment on lines +28 to +29
final customWeekdayBuilder = this.customWeekdayBuilder;
return customWeekdayBuilder != null
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why don't you just compare with this.customWeekdayBuilder;?

    return this.customWeekdayBuilder != null

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@WilliamCunhaCardoso Looks like @IchordeDionysos didn't want to use this.customWeekdayBuilder twice in the below lines.

width: markedDateMoreShowTotal ? 18 : null,
height: markedDateMoreShowTotal ? 18 : null,
decoration: markedDateMoreCustomDecoration == null
? new BoxDecoration(
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

new cast is not necessary

Suggested change
? new BoxDecoration(
? BoxDecoration(

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since this is not a critical one, will be fine here.

@WilliamCunhaCardoso
Copy link
Contributor

Very nice work. Why does it still on draft?

@WilliamCunhaCardoso
Copy link
Contributor

Does this PR also solves this? #250

@Zeswen
Copy link

Zeswen commented Mar 16, 2021

It's been 10 days since the PR. Any news about this or sound null-safety?

@hyochan
Copy link
Owner

hyochan commented Mar 16, 2021

@IchordeDionysos Is this ready for review?

@IchordeDionysos IchordeDionysos marked this pull request as ready for review March 17, 2021 06:58
@IchordeDionysos
Copy link
Contributor Author

@hyochan yes sorry :)

Copy link
Owner

@hyochan hyochan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very nicely done 💯 Thanks for your contribution 🙌

@hyochan hyochan merged commit 6d2ddd8 into hyochan:master Mar 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support null safety
4 participants