import 'package:flutter/material.dart';

void main() {
  runApp(
    MaterialApp(
      home: StackApp(),
    ),
  );
}

class StackApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Stack App',
      home: Scaffold(
        body: Stack(
          children: [
            Container(
              width: 250,
              height: 250,
              color: Colors.blue,
            ),
            Container(
              width: 200,
              height: 200,
              color: Colors.red,
            ),
            Container(
              width: 150,
              height: 150,
              color: Colors.yellow,
            )
          ],
        ),
      ),
    );
  }
}
View Compiled

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.