Search code examples
flutterflutter-animation

I want to add a animated button from left side of a screen on slide that icon drawer should open in flutter


I want to add a animated button from left side of a screen on slide that icon drawer should open in flutter.

I have a webview app, I want to add a button in middle of screen in left side.

how can I add a button please help me with that.

I think floatingaction button won't work this way.

see the design


Solution

  • you can use Positioned widget to place that button/arrow at that specific part of screen

    Positioned(
      top: MediaQuery.of(context).size.height/2
      left: 0
      child: //arrow widget here
    )