Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import 'package:flutter/material.dart';
- void main() {
- runApp(
- MaterialApp(
- debugShowCheckedModeBanner: false,
- home: Scaffold(
- body: Column(
- mainAxisAlignment: MainAxisAlignment.spaceBetween,
- children: [
- Row(
- mainAxisAlignment: MainAxisAlignment.spaceBetween,
- children: [
- Container(
- width: 100,
- height: 100,
- color: Colors.red,
- ),
- Container(
- width: 100,
- height: 100,
- color: Colors.blue,
- )
- ],
- ),
- Row(
- mainAxisAlignment: MainAxisAlignment.center,
- children: [
- Container(
- width: 100,
- height: 100,
- color: Colors.purple,
- ),
- ],
- ),
- Row(
- mainAxisAlignment: MainAxisAlignment.spaceBetween,
- children: [
- Container(
- width: 100,
- height: 100,
- color: Colors.orange,
- ),
- Container(
- width: 100,
- height: 100,
- color: Colors.green,
- )
- ],
- ),
- ],
- ),
- ),
- ),
- );
- }
Add Comment
Please, Sign In to add comment