sibvisions / flutter_jvx

A generic Flutter app for JVx applications.
Apache License 2.0
3 stars 1 forks source link

Improve splash dialogs #115

Open Bungeefan opened 1 year ago

Bungeefan commented 1 year ago

The current version of our splash dialogs was an improvised solution because of a missing Navigator. As we now have a navigator since 6f8d6283aeaddf0d9b2ecfcaca7ed061f0d3543c, we could implement proper Dialogs again including Animations.

rjahn commented 12 months ago

What's the problem without navigator? Some details please.

Bungeefan commented 12 months ago

A simple Stack doesn't AFAIK show/allow any animations when inserting a dialog, as these are, at least partly, handled by the respective underlying route that is missing in this case, due to using a stack instead of the navigator. Using the now existing navigator to display dialogs, would remove this workaround and allow for future animations.

However, as these dialogs are very state driven, it would require some tinkering to introduce reliable navigator dialogs, if possible/useful at all.