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: Multi-level titles #106

Open
matthew-carroll opened this issue Sep 17, 2024 · 0 comments
Open

feat: Multi-level titles #106

matthew-carroll opened this issue Sep 17, 2024 · 0 comments

Comments

@matthew-carroll
Copy link
Collaborator

Most slide show presentations that I put together have multiple levels of titles.

For example, one of my current presentations has the following titles at various levels:

  • The Art of Flutter Testing
    • Dispelling Common Myths
      • Tests check the correctness of your code
      • You should strive for 100% test coverage
    • Avoid Team Confusion
      • Avoid Ambiguous Terms
      • Speak in Terms of Tooling
      • Don't use 3rd Party Test Runners
    • Tour of Test Tools
      • Dart Language tests
        etc, etc, etc

As you can see, I have 3 distinct levels of titles, each of which should have different styling.

I think it would make sense for the default flutter_deck slides to include support for different levels of titles. I'm sure it's possible to build these myself, but this requirement is so ubiquitous that if flutter_deck is going to provide a TitleSlide, it should let you specify what level of title. The top level would be the presentation title slide, the first level is a section, and the second level is a subsection.

Or, if passing an arbitrary level to TitleSlide isn't ideal, there could be two slides added: SectionTitleSlide and SubsectionTitleSlide.

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

No branches or pull requests

1 participant