Skip to content

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

@shivanshpachauri

Description

@shivanshpachauri

../../../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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions