Brokie
Brokie11mo ago

issue with flutter code

No description
17 Replies
Brokie
BrokieOP11mo ago
DirtyJ
DirtyJ11mo ago
Yeah @_null was right from what I can see, FadeInUp doesn't exist within the scope of that class, so it's either a missing dependency or something that needs to be included/imported in there Can you show your pubspec.yaml? (just the dependencies: section) if it is from animate_do.dart for sure, then you can toss:
import 'package:animate_do/animate_do.dart';
import 'package:animate_do/animate_do.dart';
in there at the top under that other import if you have animate_do in the dependencies already
Brokie
BrokieOP11mo ago
No description
Brokie
BrokieOP11mo ago
And in getting this
DirtyJ
DirtyJ11mo ago
In your pubspec.yaml add the last line here:
dependencies:
...
animate_do: ^latest_version
dependencies:
...
animate_do: ^latest_version
Brokie
BrokieOP11mo ago
Brokie
BrokieOP11mo ago
my yaml file still getting this
DirtyJ
DirtyJ11mo ago
can you shift+tab after clicking in front of
animate_do: ^3.3.3
animate_do: ^3.3.3
(move it left one indentation)
Brokie
BrokieOP11mo ago
Like this?
DirtyJ
DirtyJ11mo ago
then you might need to install the dependencies again
flutter clean
flutter pub get
flutter clean
flutter pub get
or something like that
Brokie
BrokieOP11mo ago
No description
DirtyJ
DirtyJ11mo ago
That looks good
Brokie
BrokieOP11mo ago
Dude......!!!! It's really working
DirtyJ
DirtyJ11mo ago
nice 🎉
Brokie
BrokieOP11mo ago
@_null @DirtyJ thanks a lot You guys really made my day
DirtyJ
DirtyJ11mo ago
anytime, glad to help!
Brokie
BrokieOP11mo ago
❤️

Did you find this page helpful?