- Flutter Widget Livebook

Positioned

A widget that controls where a child of a Stack is positioned.

Example

Container(
  color: Colors.blue[50],
  height: 300,
  child: Stack(
    children: <Widget>[
      Positioned(
        left: 10,
        top: 70,
        right: 10,
        bottom: 70,
        child: Container(
          color: Colors.blue,
        ),
      ),
    ],
  ),
)

Related Links

  1. Example
  2. Related Links