immadisairaj / prides

A package that helps in creating custom Slides and Presenting them.
https://pub.dev/packages/prides
BSD 3-Clause "New" or "Revised" License
5 stars 1 forks source link

refactor: change how slides are displayed #6

Closed immadisairaj closed 1 year ago

immadisairaj commented 1 year ago

Before we duplicate the presentationwidget background for every slide when where is no slide background. Now, this changes by having a constant background widget and the previous slides will be transparent.

Closes #5

Description

Slide Stack in PresentationWidget:

Checks

Breaking Change

This doesn't change much (can't be considered as breaking change). But, has uses:

  1. Reduces re-creating of background widgets
  2. Enables background customisation
  3. Reduces problems of having previous slide displayed behind the current slide
immadisairaj commented 1 year ago

A case - where one wants to animate a slide on entry, the previous slide has to be displayed.

Need to think on how to solve this.

immadisairaj commented 1 year ago

We can probably provide an option to display previous slide behind the current slide. Maybe an option set by the user. Opening a new issue on this.