Closed
Description
Page URL
https://docs.flutter.dev/ui/animations/tutorial/
Page source
https://github.com/flutter/website/tree/main/src/content/ui/animations/tutorial.md
Describe the problem
Section: Refactoring with AnimatedBuilder
App source: [animate4](https://github.com/flutter/website/tree/main/examples/animation/animate4)
With what I understood on the page, I can see there's some error : "+" where "-" are expected.
Hint: I don't think a widget can have 2 "child" 😅
Here's the error:
+ child: Container(
+ margin: const EdgeInsets.symmetric(vertical: 10),
+ height: animation.value,
+ width: animation.value,
+ child: const FlutterLogo(),
Expected fix
- child: Container(
- margin: const EdgeInsets.symmetric(vertical: 10),
- height: animation.value,
- width: animation.value,
- child: const FlutterLogo(),
Additional context
No response
I would like to fix this problem.
- I will try and fix this problem on docs.flutter.dev.