Skip to content

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