My flutter app is working properly in iOS Simulator.
I have added fluttertoast by:
Adding it on pubspec.yaml
dependencies: flutter: sdk: flutter
cupertino_icons: ^0.1.3
fluttertoast: ^7.0.1
Importing in my dart file
import 'package:fluttertoast/fluttertoast.dart';
So far it works as intended. BUT, when I move to a REAL iOS device, my iPhone XS, It won't compile. I get this error:
fatal error: module 'fluttertoast' not found @import fluttertoast;
What am I missing?
Suprisingly, I made it work just now.
What I did:
So whenever you get the pop-up asking "which version to use", always choose "VERSION ON DISK".
Thanks guys