skip to Main Content

I making Restaurant app form Udemy tutorial it show me this error – Flutter

I facing this error Error: The argument type 'Object?' can't be assigned to the parameter type 'Widget?'. tabs_screen.dart:34 Object is from dart:core. Widget is from package:flutter/src/widgets/framework.dart ('/C:/flutter_windows_3.3.4-stable/flutter/packages/flutter/lib/src/widgets/framework.dart'). framework.dart:1 body: _pages[_selectPageIndex]['page']. Code class TapScreen extends StatefulWidget { const TapScreen({super.key}); @override State<TapScreen>…

VIEW QUESTION

I can't solve fluttertoast error in android studio version: fluttertoast: ^8.1.2 >flutter –version Flutter 3.3.10 plz help me

Launching libmain.dart on sdk gphone x86 in debug mode... Running Gradle task 'assembleDebug'... ../flutter/.pub-cache/hosted/pub.dartlang.org/fluttertoast-8.1.3/lib/fluttertoast.dart:165:28: Error: Member not found: 'Overlay.maybeOf'. var _overlay = Overlay.maybeOf(context!); ^^^^^^^](https://i.stack.imgur.com/LFZTA.png) I changed fluttertoast version but I got the same error above.

VIEW QUESTION
Back To Top
Search