I add this dependency in pubspec.yaml file.
dependencies:
flutter:
sdk: flutter
fluttertoast: ^8.0.8
flutter_local_notifications: ^6.0.0
vibration: ^1.7.3
on the Run time I get this file.
"GeneratedPluginRegistrant.java" file.
public final class GeneratedPluginRegistrant {
public static void registerWith(@NonNull FlutterEngine flutterEngine) {
flutterEngine.getPlugins()
.add(newcom.dexterous.flutterlocalnotifications.FlutterLocalNotificationsPlugin());
flutterEngine.getPlugins()
.add(new io.github.ponnamkarthik.toast.fluttertoast.FlutterToastPlugin());
flutterEngine.getPlugins()
.add(new com.benjaminabel.vibration.VibrationPlugin());
}
}
and I got this error on run time.

pubspec.yamlwithflutter:line. i.e having the same space withflutter:line.