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 57de3d9b21 - Show all commits

View File

@@ -119,7 +119,7 @@ class Tile extends StatelessWidget {
@override
Widget build(BuildContext context) {
return Container(
return AnimatedContainer(
child: Center(
child: Text(
letter.toUpperCase(),
@@ -130,6 +130,7 @@ class Tile extends StatelessWidget {
border: Border.all(color: Colors.grey.shade300),
color: tutTileColor(hitType),
),
duration: Duration(milliseconds: 300),
height: 60,
width: 60,
);