2

I am getting method 'TweenAnimationBuilder' isn't defined for the class in Android Studio v3.5.3 while executing 'Sample in an App' for TweenAnimationBuilder widget provided by Flutter team https://master-api.flutter.dev/flutter/widgets/TweenAnimationBuilder-class.html

This sample code can also be created via command prompt with the instruction provided by the Flutter team:

To create a sample project with this code snippet, run:
`flutter create --sample=widgets.TweenAnimationBuilder.1 mysample`

However, when I tried to run this same code on https://dartpad.dev/flutter it runs without any error.

Please help me understand what am I missing here.

Thanks in advance!!!

isherwood
  • 58,414
  • 16
  • 114
  • 157

0 Answers0