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

Adds alignment property #52

Merged
merged 1 commit into from Jun 10, 2023
Merged

Conversation

filipe-varela
Copy link
Contributor

In some cases, the dashed line would have an offset to the side, which in return wouldn't be as pleasant to look at in comparison to the divider, since it is this widget that hopefully this package is trying to replace to.

So, by adding a property alignment, defaulted to WrapAlignment.center, one can achieve the desired alignment inside its application. If needed, this can be later changed by the developer to adjust for his/her scenario.

This may close the issue #25 - Feature: option to specify alignment.

In some cases, the dashed line would have an offset to the side, which
in return wouldn't be as pleseant to look at in comparison to the divider, since it is this widget that hopefully this package is trying to replace to.

So, by adding a property `alignment`, defaulted to `WrapAlignment.center`, one can achieve the desired alignment inside its application. If needed, this can be later changed by the developer to adjust for his/her scenario.

This may close the issue umechanhika#25 - Feature: option to specify alignment.
@filipe-varela filipe-varela marked this pull request as draft May 15, 2023 21:01
@filipe-varela filipe-varela marked this pull request as ready for review May 15, 2023 21:01
Copy link
Owner

@umechanhika umechanhika left a comment

Choose a reason for hiding this comment

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

@filipe-varela
Thank you for your contribution!

This change looks great.
After merging this pull request, I will modify CHANGELOG.md and other files necessary for version updates, and then publish it to pub.dev as a new version.

@umechanhika umechanhika merged commit 321de95 into umechanhika:master Jun 10, 2023
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.

None yet

2 participants