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

feat: add modalBarrier and new color argument #8

Merged
merged 2 commits into from Oct 8, 2022

Conversation

gonzalogauto
Copy link
Contributor

Details:

  • This adds a modal barrier in the background (like in dialogs for example) and the user can set the color of that barrier to make it more customizable.

In this PR I have also made a refactor of the code to make it look cleaner

  • constructors always first.
  • avoid lines longers than 80 lines.
  • add missing trailing commas.
  • use cascade.
  • use final in values that doesn't change.
  • omit type annotation.
  • async functions now has the type Future

- This adds a modal barrier in the background (like in dialogs for example) and the user can set the color of that barrier to make it more customizable.
- constructors always first.
- avoid lines longers than 80 lines.
- add missing trailing commas.
- use cascade.
- use final in values that doesn't change.
- omit type annotation.
- async functions are now Future<void> something async(){}.
@Mayb3Nots
Copy link
Owner

Hi @gonzalogauto, Thanks so much for the PR and code cleanup. In the future, according to Instagram, we can hopefully add opacity that changes according to how zoomed the Widget is.

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