Issue in running flutter project in android studio

Job ID: 37574183

Budget: $15 – $25 USD

Launching lib\main.dart on SM E236B in debug mode...
Running Gradle task 'assembleDebug'...
../../../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<File> create({bool recursive = false});
^
org-dartlang-sdk:///third_party/dart/sdk/lib/io/file.dart:232:16: Context: This is the overridden method ('create').
Future<File> create({bool recursive = false, bool exclusive = false});
^
../../../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<File> create({bool recursive = false});
^
org-dartlang-sdk:///third_party/dart/sdk/lib/io/file.dart:232:16: Context: This is the overridden method ('create').
Future<File> create({bool recursive = false, bool exclusive = false});
^
../../../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:///third_party/dart/sdk/lib/io/file.dart:248:8: Context: This is the overridden method ('createSync').
void createSync({bool recursive = false, bool exclusive = false});
^
../../../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:///third_party/dart/sdk/lib/io/file.dart:248:8: Context: This is the overridden method ('createSync').
void createSync({bool recursive = false, bool exclusive = false});
^
lib/teacher/view/tasks/studentsOfTask.dart:533:48: Error: The method 'RaisedButton' isn't defined for the class 'StudenOfTaskCard'.
- 'StudenOfTaskCard' is from 'package:school_management_system/teacher/view/tasks/studentsOfTask.dart' ('lib/teacher/view/tasks/studentsOfTask.dart').
Try correcting the name to the name of an existing method, or defining a method named 'RaisedButton'.
confirm: RaisedButton(
^^^^^^^^^^^^
lib/teacher/view/tasks/TeacherTasksCard.dart:110:35: Error: The method 'FlatButton' isn't defined for the class 'TeacherTasksCard'.
- 'TeacherTasksCard' is from 'package:school_management_system/teacher/view/tasks/TeacherTasksCard.dart' ('lib/teacher/view/tasks/TeacherTasksCard.dart').
Try correcting the name to the name of an existing method, or defining a method named 'FlatButton'.
FlatButton(
^^^^^^^^^^
lib/teacher/view/tasks/TeacherTasksCard.dart:123:35: Error: The method 'FlatButton' isn't defined for the class 'TeacherTasksCard'.
- 'TeacherTasksCard' is from 'package:school_management_system/teacher/view/tasks/TeacherTasksCard.dart' ('lib/teacher/view/tasks/TeacherTasksCard.dart').
Try correcting the name to the name of an existing method, or defining a method named 'FlatButton'.
FlatButton(
^^^^^^^^^^
../../../AppData/Local/Pub/Cache/hosted/pub.dev/cloud_firestore_platform_interface-5.6.0/lib/src/platform_interface/utils/load_bundle_task_state.dart:13:13: Error: Method not found: 'FallThroughError'.
throw FallThroughError();
^^^^^^^^^^^^^^^^
../../../AppData/Local/Pub/Cache/hosted/pub.dev/firebase_auth_platform_interface-6.3.2/lib/src/action_code_info.dart:65:15: Error: The method 'FallThroughError' isn't defined for the class 'ActionCodeInfo'.
- 'ActionCodeInfo' is from 'package:firebase_auth_platform_interface/src/action_code_info.dart' ('../../../AppData/Local/Pub/Cache/hosted/pub.dev/firebase_auth_platform_interface-6.3.2/lib/src/action_code_info.dart').
Try correcting the name to the name of an existing method, or defining a method named 'FallThroughError'.
throw FallThroughError();
^^^^^^^^^^^^^^^^
lib/student/view/TasksScreen/TasksCard.dart:210:39: Error: The method 'FlatButton' isn't defined for the class 'TasksCard'.
- 'TasksCard' is from 'package:school_management_system/student/view/TasksScreen/TasksCard.dart' ('lib/student/view/TasksScreen/TasksCard.dart').
Try correcting the name to the name of an existing method, or defining a method named 'FlatButton'.
FlatButton(
^^^^^^^^^^
lib/student/view/TasksScreen/TasksCard.dart:223:39: Error: The method 'FlatButton' isn't defined for the class 'TasksCard'.
- 'TasksCard' is from 'package:school_management_system/student/view/TasksScreen/TasksCard.dart' ('lib/student/view/TasksScreen/TasksCard.dart').
Try correcting the name to the name of an existing method, or defining a method named 'FlatButton'.
FlatButton(
^^^^^^^^^^
lib/teacher/view/SProfile/SProfileScreen.dart:361:40: Error: The method 'RaisedButton' isn't defined for the class 'SProfileScreen'.
- 'SProfileScreen' is from 'package:school_management_system/teacher/view/SProfile/SProfileScreen.dart' ('lib/teacher/view/SProfile/SProfileScreen.dart').
Try correcting the name to the name of an existing method, or defining a method named 'RaisedButton'.
child: RaisedButton(
^^^^^^^^^^^^
../../../AppData/Local/Pub/Cache/hosted/pub.dev/youtube_player_flutter-8.0.0/lib/src/widgets/youtube_player_builder.dart:55:20: Error: Member not found: 'SystemChrome.setEnabledSystemUIOverlays'.
SystemChrome.setEnabledSystemUIOverlays([]);
^^^^^^^^^^^^^^^^^^^^^^^^^^
../../../AppData/Local/Pub/Cache/hosted/pub.dev/youtube_player_flutter-8.0.0/lib/src/widgets/youtube_player_builder.dart:59:20: Error: Member not found: 'SystemChrome.setEnabledSystemUIOverlays'.
SystemChrome.setEnabledSystemUIOverlays(SystemUiOverlay.values);
^^^^^^^^^^^^^^^^^^^^^^^^^^
../../../AppData/Local/Pub/Cache/hosted/pub.dev/youtube_player_flutter-8.0.0/lib/src/widgets/progress_bar.dart:238:46: Error: The getter 'accentColor' isn't defined for the class 'ThemeData'.
- 'ThemeData' is from 'package:flutter/src/material/theme_data.dart' ('/C:/SDK/flutter/packages/flutter/lib/src/material/theme_data.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'accentColor'.
colors?.backgroundColor ?? themeData.accentColor.withOpacity(0.38);
^^^^^^^^^^^
../../../AppData/Local/Pub/Cache/hosted/pub.dev/youtube_player_flutter-8.0.0/lib/src/widgets/progress_bar.dart:244:52: Error: The getter 'accentColor' isn't defined for the class 'ThemeData'.
- 'ThemeData' is from 'package:flutter/src/material/theme_data.dart' ('/C:/SDK/flutter/packages/flutter/lib/src/material/theme_data.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'accentColor'.
paint.color = colors?.playedColor ?? themeData.accentColor;
^^^^^^^^^^^
../../../AppData/Local/Pub/Cache/hosted/pub.dev/youtube_player_flutter-8.0.0/lib/src/widgets/progress_bar.dart:252:59: Error: The getter 'accentColor' isn't defined for the class 'ThemeData'.
- 'ThemeData' is from 'package:flutter/src/material/theme_data.dart' ('/C:/SDK/flutter/packages/flutter/lib/src/material/theme_data.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'accentColor'.
final _handleColor = colors?.handleColor ?? themeData.accentColor;
^^^^^^^^^^^
lib/teacher/view/TaskScreen/task_screen.dart:26:26: Error: The method 'RaisedButton' isn't defined for the class 'TaskScreen'.
- 'TaskScreen' is from 'package:school_management_system/teacher/view/TaskScreen/task_screen.dart' ('lib/teacher/view/TaskScreen/task_screen.dart').
Try correcting the name to the name of an existing method, or defining a method named 'RaisedButton'.
child: RaisedButton(
^^^^^^^^^^^^
lib/student/view/chatSearch/chat_search.dart:3:1: Error: 'SearchController' is imported from both 'package:flutter/src/material/search_anchor.dart' and 'package:school_management_system/student/controllers/SearchController.dart'.
import 'package:school_management_system/student/controllers/SearchController.dart';
^^^^^^^^^^^^^^^^
lib/student/view/chatSearch/chat_search.dart:105:41: Error: 'SearchController' is imported from both 'package:flutter/src/material/search_anchor.dart' and 'package:school_management_system/student/controllers/SearchController.dart'.
SearchController controller = Get.put(SearchController());
^^^^^^^^^^^^^^^^
../../../AppData/Local/Pub/Cache/hosted/pub.dev/google_fonts-3.0.1/lib/src/google_fonts_base.dart:14:1: Error: 'AssetManifest' is imported from both 'package:flutter/src/services/asset_manifest.dart' and 'package:google_fonts/src/asset_manifest.dart'.
import 'asset_manifest.dart';
^^^^^^^^^^^^^
../../../AppData/Local/Pub/Cache/hosted/pub.dev/google_fonts-3.0.1/lib/src/google_fonts_base.dart:32:31: Error: 'AssetManifest' is imported from both 'package:flutter/src/services/asset_manifest.dart' and 'package:google_fonts/src/asset_manifest.dart'.
AssetManifest assetManifest = AssetManifest();
^^^^^^^^^^^^^
Target kernel_snapshot failed: Exception