bluefireteam / dashbook

Development tools to help you building UI on Flutter
MIT License
392 stars 43 forks source link

Don't only show wide logic on web #88

Closed renefloor closed 2 years ago

renefloor commented 2 years ago

Currently there is quite a bit of logic related to kIsWeb, for example the story navigation widget and the chapter itself are never shown side-by-side on desktop. On the other hand it does show large-screen features on mobile web.

This PR adds screen size logic to the library and applies it where it makes sense. The only kIsWeb that still makes sense is that for sharing an url, but even that could be useful on non-web applications. (But current implementation would be broken.)