akshathjain / sliding_up_panel

A draggable Flutter widget that makes implementing a SlidingUpPanel much easier!
https://pub.dartlang.org/packages/sliding_up_panel
Other
1.36k stars 378 forks source link

[feature request] slide panel from anywhere (eg. top, left, right) #221

Open SogoGolf opened 3 years ago

SogoGolf commented 3 years ago

I know this is specifically a sliding UP panel - but is it feasible to enhance it to be able to, for example, slide it DOWN from a given screen location ? Or put it on left side of the screen and be able to slide it left-to-right to open? Etc..

diegonuja commented 3 years ago

Hello, if i'm not mistaken you can already make it slide from the top of the screen using the slideDirection property

pan1nx commented 2 years ago

This feature request actually makes sense if one uses Screen Orientation while keeping the panel in the same screen position. Currently, the DOWN and UP options work as expected when rotating the screen: they move the location on the screen. But if one wants to keep the slider in the same location, then it needs that the DOWN in portrait becomes RIGHT in landscape (or from UP becomes LEFT). Currently, I don't know of an easy way one can achieve that functionality with this SlidingUpPanel and hence, it would be nice to have this functionality.