Skip to content

Commit edfbf34

Browse files
authored
Fix errors in RadialExpansion class example (#12762)
This change fixes these errors <img width="722" height="78" alt="err_1" src="https://github.com/user-attachments/assets/cd1aef4b-2d3f-4987-a23f-b7592b4d2ebf" /> <img width="623" height="40" alt="err_2" src="https://github.com/user-attachments/assets/447e89e6-e5cf-4847-ba82-56a3bdf6e742" /> Fixes #12761
1 parent 20450b0 commit edfbf34

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/content/ui/animations/hero-animations.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -561,8 +561,8 @@ class RadialExpansion extends StatelessWidget {
561561
}) : [!clipRectSize = 2.0 * (maxRadius / math.sqrt2);!]
562562
563563
final double maxRadius;
564-
final clipRectSize;
565-
final Widget child;
564+
final double clipRectSize;
565+
final Widget? child;
566566
567567
@override
568568
Widget build(BuildContext context) {

0 commit comments

Comments
 (0)