You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I try to compile, it prompts several errors as below :
/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/bot_toast-2.2.1/lib/src/key_board_safe_area.dart:12:48: Error: No named parameter with the name 'nullOk'.
MediaQueryData data= MediaQuery.of(context,nullOk: true);
^^^^^^
/C:/src/flutter/packages/flutter/lib/src/widgets/media_query.dart:818:25: Context: Found this candidate, but the arguments don't match.
static MediaQueryData of(BuildContext context) {
^^
/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_slidable-0.5.4/lib/src/widgets/slidable.dart:246:20: Error: The method 'inheritFromWidgetOfExactType' isn't defined for the class 'BuildContext'.
'BuildContext' is from 'package:flutter/src/widgets/framework.dart' ('/C:/src/flutter/packages/flutter/lib/src/widgets/framework.dart').
Try correcting the name to the name of an existing method, or defining a method named 'inheritFromWidgetOfExactType'.
return context.inheritFromWidgetOfExactType(SlidableData);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_slidable-0.5.4/lib/src/widgets/slidable.dart:541:17: Error: The method 'inheritFromWidgetOfExactType' isn't defined for the class 'BuildContext'.
'BuildContext' is from 'package:flutter/src/widgets/framework.dart' ('/C:/src/flutter/packages/flutter/lib/src/widgets/framework.dart').
Try correcting the name to the name of an existing method, or defining a method named 'inheritFromWidgetOfExactType'.
context.inheritFromWidgetOfExactType(_SlidableScope);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Please help as I do not have any idea how to solve this.
Thanks.
The text was updated successfully, but these errors were encountered:
When I try to compile, it prompts several errors as below :
/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/bot_toast-2.2.1/lib/src/key_board_safe_area.dart:12:48: Error: No named parameter with the name 'nullOk'.
MediaQueryData data= MediaQuery.of(context,nullOk: true);
^^^^^^
/C:/src/flutter/packages/flutter/lib/src/widgets/media_query.dart:818:25: Context: Found this candidate, but the arguments don't match.
static MediaQueryData of(BuildContext context) {
^^
/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_slidable-0.5.4/lib/src/widgets/slidable.dart:246:20: Error: The method 'inheritFromWidgetOfExactType' isn't defined for the class 'BuildContext'.
Try correcting the name to the name of an existing method, or defining a method named 'inheritFromWidgetOfExactType'.
return context.inheritFromWidgetOfExactType(SlidableData);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/C:/src/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_slidable-0.5.4/lib/src/widgets/slidable.dart:541:17: Error: The method 'inheritFromWidgetOfExactType' isn't defined for the class 'BuildContext'.
Try correcting the name to the name of an existing method, or defining a method named 'inheritFromWidgetOfExactType'.
context.inheritFromWidgetOfExactType(_SlidableScope);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Please help as I do not have any idea how to solve this.
Thanks.
The text was updated successfully, but these errors were encountered: