breitburg / glimpse

A minimalistic modal sheet inspired by AirPods
https://pub.dev/packages/glimpse
MIT License
1 stars 1 forks source link

Enhancement Proposal: Optional Close Button #1

Open AlexanderVanhee opened 2 months ago

AlexanderVanhee commented 2 months ago

The current methods for closing a Glimpse may not be immediately obvious to all users, especially those on Android who are unfamiliar to these kinds of interface elements. So to improve usability, I propose adding an optional close button to the top right corner of the Glimpse. This button would be positioned absolutely, ensuring it does not interfere with the size or layout of the child widget.

Image reference

airpodsconnected

AlexanderVanhee commented 2 months ago

An optional reprogrammable button on the left might also be useful in certain use cases, such as implementing a back button or some other secondary action.