Do Widgets tutorial #1

Merged
kornerr merged 15 commits from tutorial into master 2026-06-04 17:59:51 +02:00
Showing only changes of commit f0f229d566 - Show all commits

View File

@@ -11,11 +11,16 @@ class MainApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return const MaterialApp(
return MaterialApp(
home: Scaffold(
appBar: AppBar(
title: Align(
alignment: Alignment.centerLeft,
child: Text("Birdle"),
),
),
body: Center(
//child: Text('Wow, nice, Hello World!'),
child: Tile("A", .hit),
child: Tile("A", HitType.hit),
),
),
);