Flutter - Position Buttons

PHOTO EMBED

Sun Jan 23 2022 08:57:24 GMT+0000 (Coordinated Universal Time)

Saved by @abir_hasnat95 #dart #flutter

body: Stack(
        children: [
          Positioned(
            bottom: 20,
            right: 10,
            height: 25,
            width: 75,
            child: ElevatedButton(
              onPressed: () {
                Navigator.pop(
                  context,
                  MaterialPageRoute(
                    builder: (builder) => Text_input(),
                  ),
                );
              },
              child: Text('Back'),
            ),
          )
        ],
      ),
content_copyCOPY

This code can be used to position buttons anywhere on the screen.

https://www.youtube.com/watch?v=EgtPleVwxBQ&t=64s