GitHub

    Table of contents

  1. Example
  2. Related Links

Positioned

Edit this page

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