Skip to content

Add Drawer widget support to Stac framework #308

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

Closed
wants to merge 3 commits into from

Conversation

naveen-krishna
Copy link
Contributor

Description

Added support for the Drawer widget. This implementation includes:

Core Implementation

  • Created a complete model class with all Flutter Drawer properties including backgroundColor, elevation, width, shape, semanticLabel, and clipBehavior

  • Implemented parser that converts JSON configuration to Flutter Drawer widgets

  • Added drawer to WidgetType enum and registered parser in the main framework

Gallery Integration

  • Created complete drawer example with header and navigation menu

  • Added "Stac Drawer" to the widget gallery with proper icon and description

  • All menu items show snackbar feedback when tapped

Related Issues

Closes feat: Add support for Drawer widget #152

Type of Change

  • [ x ] New feature (non-breaking change which adds functionality)
  • Bug fix (non-breaking change which fixes an issue)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Code refactor
  • Build configuration change
  • Documentation
  • Chore

Naveen K added 2 commits July 6, 2025 16:22
- Add StacDrawer model and parser for Flutter Drawer widget
- Support all Drawer properties: backgroundColor, elevation, width, etc.
- Add drawer to WidgetType enum and register in framework
- Add drawer example to stac_gallery
- Include complete drawer demo with header and menu items

The drawer widget can now be used in Stac JSON with swipe gesture
and tap actions on menu items.
@CLAassistant
Copy link

CLAassistant commented Jul 6, 2025

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.
1 out of 2 committers have signed the CLA.

✅ divyanshub024
❌ Naveen K


Naveen K seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You have signed the CLA already but the status is still pending? Let us recheck it.

@divyanshub024
Copy link
Member

@naveen-krishna Please sign the CLA. It's needed before we merge the PR.

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.

3 participants