1 | initial version |
Stack
widget.Stack
will be at the top, so add the widget you want to move to the forefront last.Positioned
widget to specify the exact positioning of each child within the Stack
.Example:
Stack(
children: [
Positioned(
child: // your first widget here
),
Positioned(
child: // your second widget here
),
Positioned(
child: // the widget you want to move to the forefront
),
],
)