skip to Main Content

Flutter – I am not even using FlatButton or RaisedButton but i am getting these errors. I have searched my whole project. Also can't understand below errors too

/C:/Users/Dell/AppData/Local/Pub/Cache/hosted/pub.dev/flutter_platform_widgets-1.20.0/lib/src/platform_dialog_action.dart:171:14: Error: The method 'FlatButton' isn't defined for the class 'PlatformDialogAction'. 'PlatformDialogAction' is from 'package:flutter_platform_widgets/src/platform_dialog_action.dart' ('/C:/Users/Dell/AppData/Local/Pub/Cache/hosted/pub.dev/flutter_platform_widgets-1.20.0/lib/src/platform_dialog_action.dart'). Try correcting the name to the name of an existing method, or defining a method named 'FlatButton'. return FlatButton( ^^^^^^^^^^ /C:/Users/Dell/AppData/Local/Pub/Cache/hosted/pub.dev/flutter_platform_widgets-1.20.0/lib/src/platform_button.dart:269:14: Error: The method…

VIEW QUESTION

React native app BUILD FAILED after installing @react-native-firebase/app

app BUILD FAILED after i install @react-native-firebase/app package.json "@react-native-firebase/app": "^18.0.0", "react-native": "0.70.0", this is my build.gradle implementation project(':react-native-pusher-push-notifications') implementation 'com.pusher:push-notifications-android:1.9.0' implementation ("com.google.firebase:firebase-iid:21.1.0") implementation ("com.google.firebase:firebase-messaging:23.0.0") implementation 'androidx.multidex:multidex:2.0.1' // <-- ADD THIS DEPENDENCY * What went wrong: Execution failed for task ':app:checkDebugDuplicateClasses'.…

VIEW QUESTION
Back To Top
Search