Brokie
Brokie10mo ago

issue with flutter code

No description
17 Replies
Brokie
BrokieOP10mo ago
DirtyJ
DirtyJ10mo 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
BrokieOP10mo ago
No description
Brokie
BrokieOP10mo ago
And in getting this
DirtyJ
DirtyJ10mo ago
In your pubspec.yaml add the last line here:
dependencies:
...
animate_do: ^latest_version
dependencies:
...
animate_do: ^latest_version
Brokie
BrokieOP10mo ago
Brokie
BrokieOP10mo ago
my yaml file still getting this
DirtyJ
DirtyJ10mo 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
BrokieOP10mo ago
Like this?
DirtyJ
DirtyJ10mo 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
BrokieOP10mo ago
No description
DirtyJ
DirtyJ10mo ago
That looks good
Brokie
BrokieOP10mo ago
Dude......!!!! It's really working
DirtyJ
DirtyJ10mo ago
nice 🎉
Brokie
BrokieOP10mo ago
@_null @DirtyJ thanks a lot You guys really made my day
DirtyJ
DirtyJ10mo ago
anytime, glad to help!
Brokie
BrokieOP10mo ago
❤️