-
-
Notifications
You must be signed in to change notification settings - Fork 81
feat: add StacVisibility widget #266
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
Conversation
|
Hey @Abdalqader27 !! Thanks for this PR. Can you please add documentation as well, it's under the website/docs folder? |
Hey @divyanshub024, I noticed the file here: Would you like me to add more examples to this, or is it sufficient as is? |
|
Ohh, I didn't notice we already had a doc. We are good. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the Pr @Abdalqader27 👍🏻
There are few small suggestiong, please check it out.
packages/stac/lib/src/parsers/widgets/stac_visibility/stac_visibility.dart
Outdated
Show resolved
Hide resolved
packages/stac/lib/src/parsers/widgets/stac_visibility/stac_visibility.dart
Show resolved
Hide resolved
packages/stac/lib/src/parsers/widgets/stac_visibility/stac_visibility.dart
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for your contribution @Abdalqader27 🎉 💯
Description
Introduced the
StacVisibilitywidget, which allows conditional rendering of its child based on avisibleproperty. It also supportsmaintainproperties and areplacementwidget.Examples
Related Issues
Closes #263
Type of Change