From 7cbd31be5dd7f9396622b45fd991e5900d515b71 Mon Sep 17 00:00:00 2001 From: Hamza Gohar <157479537+HamzaGohar-2k23-BSCS-249@users.noreply.github.com> Date: Sat, 14 Feb 2026 12:08:24 +0500 Subject: [PATCH] Update implicit-animations.md Inside the "Tile" class the member variable is defined as a "String" and inside the "Text" widget we are using it as a Record "letter.char.toUpperCase()" . But we extracted the String from the record when we were creating multiple tiles inside the "Row" widget of "GamePage" class by using "Collection for" --- src/content/learn/pathway/tutorial/implicit-animations.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/content/learn/pathway/tutorial/implicit-animations.md b/src/content/learn/pathway/tutorial/implicit-animations.md index 5c37fac77a7..0c75d72a2ae 100644 --- a/src/content/learn/pathway/tutorial/implicit-animations.md +++ b/src/content/learn/pathway/tutorial/implicit-animations.md @@ -62,7 +62,7 @@ class Tile extends StatelessWidget { ), child: Center( child: Text( - letter.char.toUpperCase(), + letter.toUpperCase(), style: Theme.of(context).textTheme.titleLarge, ), ), @@ -107,7 +107,7 @@ class Tile extends StatelessWidget { ), child: Center( child: Text( - letter.char.toUpperCase(), + letter.toUpperCase(), style: Theme.of(context).textTheme.titleLarge, ), ), @@ -173,7 +173,7 @@ class Tile extends StatelessWidget { ), child: Center( child: Text( - letter.char.toUpperCase(), + letter.toUpperCase(), style: Theme.of(context).textTheme.titleLarge, ), ),