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

Flutter Error: No named parameter with the name 'onMediaDeviceChanged'. Flutter Context: Found this candidate, but the arguments don't match

Performing hot reload... /C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/agora_uikit-1.1.0/lib/controllers/rtc_event_handlers.dart:140:6: Error: No named parameter with the name 'onMediaDeviceChanged'. }, onMediaDeviceChanged: (deviceType) { ^^^^^^^^^^^^^^^^^^^^ /C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/agora_rtc_engine-6.1.0/lib/src/agora_rtc_engine.dart:1537:9: Context: Found this candidate, but the arguments don't match. const RtcEngineEventHandler({ ^^^^^^^^^^^^^^^^^^^^^ Try again after fixing the above error(s). Performing hot reload...…

VIEW QUESTION
Back To Top
Search