Error: Couldn't resolve the package 'flutter_gen' in 'package:flutter_gen/gen_l10n/app_localizations.dart'. lib/ui/tools/app_lock.dart:6:8: Error: Not found: 'package:flutter_gen/gen_l10n/app_localizations.dart' import 'package:flutter_gen/gen_l10n/app_localizations.dart'; ^ lib/l10n/l10n.dart:2:8: Error: Not found: 'package:flutter_gen/gen_l10n/app_localizations.dart' import "package:flutter_gen/gen_l10n/app_localizations.dart"; ^ lib/l10n/l10n.dart:4:1: Error: Not found: 'package:flutter_gen/gen_l10n/app_localizations.dart' export "package:flutter_gen/gen_l10n/app_localizations.dart"; ^ lib/l10n/l10n.dart:7:3: Error: Type 'AppLocalizations' not found. AppLocalizations get l10n => AppLocalizations.of(this); ^^^^^^^^^^^^^^^^ lib/ui/account/logout_dialog.dart:66:44: Error: Type 'AppLocalizations' not found. Future _logout(BuildContext context, AppLocalizations l10n) async { ^^^^^^^^^^^^^^^^ lib/ui/code_widget.dart:331:24: Error: Type 'AppLocalizations' not found. Widget _getBottomRow(AppLocalizations l10n) { ^^^^^^^^^^^^^^^^ lib/ente_theme_data.dart:42:36: Error: The argument type 'DialogTheme' can't be assigned to the parameter type 'DialogThemeData?'. - 'DialogTheme' is from 'package:flutter/src/material/dialog_theme.dart' ('../../../../snap/flutter/common/flutter/packages/flutter/lib/src/material/dialog_theme.dart'). - 'DialogThemeData' is from 'package:flutter/src/material/dialog_theme.dart' ('../../../../snap/flutter/common/flutter/packages/flutter/lib/src/material/dialog_theme.dart'). dialogTheme: const DialogTheme().copyWith( ^ lib/ente_theme_data.dart:153:36: Error: The argument type 'DialogTheme' can't be assigned to the parameter type 'DialogThemeData?'. - 'DialogTheme' is from 'package:flutter/src/material/dialog_theme.dart' ('../../../../snap/flutter/common/flutter/packages/flutter/lib/src/material/dialog_theme.dart'). - 'DialogThemeData' is from 'package:flutter/src/material/dialog_theme.dart' ('../../../../snap/flutter/common/flutter/packages/flutter/lib/src/material/dialog_theme.dart'). dialogTheme: const DialogTheme().copyWith( ^ lib/app/view/app.dart:133:13: Error: Undefined name 'AppLocalizations'. AppLocalizations.delegate, ^^^^^^^^^^^^^^^^ lib/app/view/app.dart:152:11: Error: Undefined name 'AppLocalizations'. AppLocalizations.delegate, ^^^^^^^^^^^^^^^^ lib/ui/tools/app_lock.dart:123:12: Error: Undefined name 'AppLocalizations'. ...AppLocalizations.localizationsDelegates, ^^^^^^^^^^^^^^^^ lib/ui/tools/app_lock.dart:123:29: Error: An expression whose value can be 'null' must be null-checked before it can be dereferenced. ...AppLocalizations.localizationsDelegates, ^ lib/ui/tools/app_lock.dart:123:29: Error: Unexpected type 'invalid-type' of a spread. Expected 'dynamic' or an Iterable. ...AppLocalizations.localizationsDelegates, ^ lib/l10n/l10n.dart:7:32: Error: The getter 'AppLocalizations' isn't defined for the class 'BuildContext'. - 'BuildContext' is from 'package:flutter/src/widgets/framework.dart' ('../../../../snap/flutter/common/flutter/packages/flutter/lib/src/widgets/framework.dart'). Try correcting the name to the name of an existing getter, or defining a getter or field named 'AppLocalizations'. AppLocalizations get l10n => AppLocalizations.of(this); ^^^^^^^^^^^^^^^^ lib/ui/account/logout_dialog.dart:66:44: Error: 'AppLocalizations' isn't a type. Future _logout(BuildContext context, AppLocalizations l10n) async { ^^^^^^^^^^^^^^^^ lib/ui/code_widget.dart:121:28: Error: 'AppLocalizations' isn't a type. Widget getCardContents(AppLocalizations l10n) { ^^^^^^^^^^^^^^^^ lib/ui/code_widget.dart:201:24: Error: 'AppLocalizations' isn't a type. Widget clippedCard(AppLocalizations l10n) { ^^^^^^^^^^^^^^^^ lib/ui/code_widget.dart:331:24: Error: 'AppLocalizations' isn't a type. Widget _getBottomRow(AppLocalizations l10n) { ^^^^^^^^^^^^^^^^ ../../../../.pub-cache/hosted/pub.dev/figma_squircle-0.5.3/lib/src/smooth_rectangle_border.dart:189:23: Error: The method 'hashValues' isn't defined for the class 'SmoothRectangleBorder'. - 'SmoothRectangleBorder' is from 'package:figma_squircle/src/smooth_rectangle_border.dart' ('../../../../.pub-cache/hosted/pub.dev/figma_squircle-0.5.3/lib/src/smooth_rectangle_border.dart'). Try correcting the name to the name of an existing method, or defining a method named 'hashValues'. int get hashCode => hashValues(side, borderRadius, borderAlign); ^^^^^^^^^^ Unhandled exception: FileSystemException(uri=org-dartlang-untranslatable-uri:package%3Aflutter_gen%2Fgen_l10n%2Fapp_localizations.dart; message=StandardFileSystem only supports file:* and data:* URIs) #0 StandardFileSystem.entityForUri (package:front_end/src/api_prototype/standard_file_system.dart:45) #1 asFileUri (package:vm/kernel_front_end.dart:984) #2 writeDepfile (package:vm/kernel_front_end.dart:1147) #3 FrontendCompiler.compile (package:frontend_server/frontend_server.dart:713) #4 starter (package:frontend_server/starter.dart:109) #5 main (file:///b/s/w/ir/x/w/sdk/pkg/frontend_server/bin/frontend_server_starter.dart:13) Target kernel_snapshot_program failed: Exception FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':app:compileFlutterBuildIndependentDebug'. > Process 'command '/home/kututu/snap/flutter/common/flutter/bin/flutter'' finished with non-zero exit value 1 * Try: > Run with --stacktrace option to get the stack trace. > Run with --info or --debug option to get more log output. > Run with --scan to get full insights. * Get more help at https://help.gradle.org BUILD FAILED in 29s