Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Please help I have changed to android v1 embedding and this error is coming #21

Open
shivanshpachauri opened this issue Mar 29, 2023 · 6 comments

Comments

@shivanshpachauri
Copy link

../../../AppData/Local/Pub/Cache/hosted/pub.dev/file-6.1.2/lib/src/interface/file.dart:15:16: Error: The method 'File.create' has fewer named arguments than those of overridden method 'File.create'.
Future create({bool recursive = false});
^
org-dartlang-sdk:///dart-sdk/lib/io/file.dart: Context: This is the overridden method ('create').
../../../AppData/Local/Pub/Cache/hosted/pub.dev/file-6.1.2/lib/src/interface/file.dart:15:16: Error: The method 'File.create' doesn't have the named parameter 'exclusive' of overridden method 'File.create'.
Future create({bool recursive = false});
^
org-dartlang-sdk:///dart-sdk/lib/io/file.dart: Context: This is the overridden method ('create').
../../../AppData/Local/Pub/Cache/hosted/pub.dev/file-6.1.2/lib/src/forwarding/forwarding_file.dart:22:8: Error: The method 'ForwardingFile.createSync' has fewer named arguments than those of overridden method 'File.createSync'.
void createSync({bool recursive = false}) =>
^
org-dartlang-sdk:///dart-sdk/lib/io/file.dart: Context: This is the overridden method ('createSync').
../../../AppData/Local/Pub/Cache/hosted/pub.dev/file-6.1.2/lib/src/forwarding/forwarding_file.dart:22:8: Error: The method 'ForwardingFile.createSync' doesn't have the named parameter 'exclusive' of overridden method 'File.createSync'.
void createSync({bool recursive = false}) =>
^
org-dartlang-sdk:///dart-sdk/lib/io/file.dart: Context: This is the overridden method ('createSync').
lib/ui/pages/home.dart:51:19: Error: No named parameter with the name 'title'.
title: tabNo == 0 ? Text("Home") : Container()),
^^^^^
/C:/src/flutter/flutter/packages/flutter/lib/src/widgets/bottom_navigation_bar_item.dart:25:9: Context: Found this candidate, but the arguments don't match.
const BottomNavigationBarItem({
^^^^^^^^^^^^^^^^^^^^^^^
lib/ui/pages/home.dart:54:19: Error: No named parameter with the name 'title'.
title: tabNo == 1 ? Text("Planner") : Container()),
^^^^^
/C:/src/flutter/flutter/packages/flutter/lib/src/widgets/bottom_navigation_bar_item.dart:25:9: Context: Found this candidate, but the arguments don't match.
const BottomNavigationBarItem({
^^^^^^^^^^^^^^^^^^^^^^^
lib/ui/pages/home.dart:58:19: Error: No named parameter with the name 'title'.
title: tabNo == 3 ? Text("Videos") : Container()),
^^^^^
/C:/src/flutter/flutter/packages/flutter/lib/src/widgets/bottom_navigation_bar_item.dart:25:9: Context: Found this candidate, but the arguments don't match.
const BottomNavigationBarItem({
^^^^^^^^^^^^^^^^^^^^^^^
lib/ui/pages/home.dart:61:19: Error: No named parameter with the name 'title'.
title: tabNo == 4 ? Text("Leaderboard") : Container()),
^^^^^
/C:/src/flutter/flutter/packages/flutter/lib/src/widgets/bottom_navigation_bar_item.dart:25:9: Context: Found this candidate, but the arguments don't match.
const BottomNavigationBarItem({
^^^^^^^^^^^^^^^^^^^^^^^
lib/ui/widgets/topBar.dart:87:17: Error: The getter 'BlacklistingTextInputFormatter' isn't defined for the class '_TopBarState'.

  • '_TopBarState' is from 'package:elearning/ui/widgets/topBar.dart' ('lib/ui/widgets/topBar.dart').
    Try correcting the name to the name of an existing getter, or defining a getter or field named 'BlacklistingTextInputFormatter'.
    BlacklistingTextInputFormatter.singleLineFormatter
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ../../../AppData/Local/Pub/Cache/hosted/pub.dev/flutter_calendar_carousel-2.0.3/lib/flutter_calendar_carousel.dart:490:16: Error: The method 'FlatButton' isn't defined for the class '_CalendarState'.
  • '_CalendarState' is from 'package:flutter_calendar_carousel/flutter_calendar_carousel.dart' ('../../../AppData/Local/Pub/Cache/hosted/pub.dev/flutter_calendar_carousel-2.0.3/lib/flutter_calendar_carousel.dart').
    Try correcting the name to the name of an existing method, or defining a method named 'FlatButton'.
    child: FlatButton(
    ^^^^^^^^^^
    ../../../AppData/Local/Pub/Cache/hosted/pub.dev/flutter_calendar_carousel-2.0.3/lib/src/calendar_header.dart:47:32: Error: The method 'FlatButton' isn't defined for the class 'CalendarHeader'.
  • 'CalendarHeader' is from 'package:flutter_calendar_carousel/src/calendar_header.dart' ('../../../AppData/Local/Pub/Cache/hosted/pub.dev/flutter_calendar_carousel-2.0.3/lib/src/calendar_header.dart').
    Try correcting the name to the name of an existing method, or defining a method named 'FlatButton'.
    Widget _headerTouchable() => FlatButton(
    ^^^^^^^^^^
    ../../../AppData/Local/Pub/Cache/hosted/pub.dev/platform-3.0.2/lib/src/interface/local_platform.dart:46:19: Error: Member not found: 'packageRoot'.
    io.Platform.packageRoot; // ignore: deprecated_member_use
    ^^^^^^^^^^^
    Failed to compile application.
@omar-chaabouni
Copy link

You got any solution ?

@balogun14
Copy link

have you tried checking the lines specified

@PASSIONFORYOU
Copy link

Can I attend to this project at the job position?

@shivanshpachauri
Copy link
Author

shivanshpachauri commented Aug 10, 2024 via email

@PASSIONFORYOU
Copy link

Hi, @shivanshpachauri
Thanks for letting me know, if you need forward, feel free to collaborate with me.

Best

@shivanshpachauri
Copy link
Author

shivanshpachauri commented Aug 11, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants