feat: add stacSliverVisibility widget, parser,example and documentation #426
Conversation
📝 WalkthroughWalkthroughAdds first-class SliverVisibility support to STAC: new core model and JSON (de)serialization, parser and parser registration, docs and example assets, and exports to expose the new widget type. Changes
Sequence Diagram(s)sequenceDiagram
participant Service as StacService
participant Parser as StacSliverVisibilityParser
participant Model as StacSliverVisibility
participant Builder as FlutterWidgetBuilder
Service->>Parser: request parser for type "sliverVisibility"
Parser->>Model: fromJson(json)
Parser->>Parser: parse nested `sliver` / `replacementSliver` via context
Parser->>Builder: construct SliverVisibility(sliver, replacementSliver, flags)
Builder->>Flutter: insert SliverVisibility into widget tree
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~22 minutes Possibly related PRs
Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
Hi @divyanshub024 , @Potatomonsta 👋, |
|
@akhil-ge0rge Let's merge this one as well!! |
@divyanshub024 Done |
divyanshub024
left a comment
There was a problem hiding this comment.
Thanks a lot for the contribution. Really appreciate the effort 🙌🔥
Thanks a lot! Happy to contribute and really appreciate the support 🙌 |
Description
This PR introduces support for
stacSliverVisibilityby adding a new widget model and its corresponding parser.Related Issues
Closes #418
Type of Change
Summary by CodeRabbit
New Features
Examples
Documentation
✏️ Tip: You can customize this high-level summary in your review settings.