Manipulating position and size: Setting absolute position

Var container = Container( // grey box
  child: Stack(
    children: [
      Positioned( // red box
        child:  Container(
          child: Text(
            "Lorem ipsum",
            style: bold24Roboto,
          ),
          decoration: BoxDecoration(
            color: Colors.red[400],
          ),
          padding: EdgeInsets.all(16),
        ),
        left: 24,
        top: 24,
      ),
    ],
  ), 
  width: 320,
  height: 240,
  color: Colors.grey[300],
);

By default, widgets are positioned relative to their parent.

Manipulating position and size: Setting absolute position — Structure map

Clickable & Draggable!

Manipulating position and size: Setting absolute position — Related pages: