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 @override
Widget build(BuildContext context) { Widget build(BuildContext context) {
return const MaterialApp( return MaterialApp(
home: Scaffold( home: Scaffold(
appBar: AppBar(
title: Align(
alignment: Alignment.centerLeft,
child: Text("Birdle"),
),
),
body: Center( body: Center(
//child: Text('Wow, nice, Hello World!'), child: Tile("A", HitType.hit),
child: Tile("A", .hit),
), ),
), ),
); );