Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
46 changes: 45 additions & 1 deletion lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,51 @@ class MyHomePage extends StatelessWidget {
backgroundColor: Theme.of(context).colorScheme.inversePrimary,
title: Text('Kata 1'),
),
body: <code here>,
body: Column(
spacing: 32,
mainAxisAlignment: MainAxisAlignment.center,
children: [
const Text('Look at these beautiful boxes!'),
Row(
mainAxisAlignment: MainAxisAlignment.spaceEvenly,
children: [
Container(
height: 100,
width: 100,
decoration: BoxDecoration(
borderRadius: BorderRadius.circular(10),
color: Colors.green,
),
child: Center(
child: const Text('1'),
),
),
Container(
height: 100,
width: 100,
decoration: BoxDecoration(
borderRadius: BorderRadius.circular(10),
color: Colors.blue,
),
child: Center(
child: const Text('2'),
),
),
Container(
height: 100,
width: 100,
decoration: BoxDecoration(
borderRadius: BorderRadius.circular(10),
color: Colors.orange,
),
child: Center(
child: const Text('3'),
),
),
],
),
],
),
);
}
}