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: adding scenario navigation path #116

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

akaboshinit
Copy link
Contributor

@akaboshinit akaboshinit commented Jan 9, 2025

Enhancements to PlaybookGallery:

  • Added new properties initialRoute, lightTheme, darkTheme, and themeMode to the PlaybookGallery class in packages/playbook_ui/lib/src/playbook_gallery.dart.
  • Updated the PlaybookGalleryState class to use the new properties and support named routes for scenarios. [1] [2] [3]

Modifications to ScenarioContainer:

  • Added navigationPath property to ScenarioContainer and updated the onTap method to use named routes instead of MaterialPageRoute. [1] [2]

Other Changes:

  • Removed unnecessary MaterialApp wrapper in examples/generator_app/lib/main_catalog.dart and examples/simple_app/lib/main_catalog.dart, and moved theme settings to PlaybookGallery. [1] [2] [3]

@akaboshinit
Copy link
Contributor Author

TODO: fix Docs

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.

1 participant