Skip to content

Compilation error #15

@vinner2112

Description

@vinner2112

Please help me fix the error:

/Volumes/APPLE%20SD%20Card%20Reader%20Media/Flutter/flutter_macos_2.5.3-stable/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_svg-0.19.2+1/lib/src/picture_provider.dart:57:59: Error: No named parameter with the name 'nullOk'.
        context != null ? Localizations.localeOf(context, nullOk: true) : null,
                                                          ^^^^^^
/Volumes/APPLE%20SD%20Card%20Reader%20Media/Flutter/flutter_macos_2.5.3-stable/flutter/packages/flutter/lib/src/widgets/localizations.dart:413:17: Context: Found this candidate, but the arguments don't match.
  static Locale localeOf(BuildContext context) {
                ^^^^^^^^
Failed to package /Users/Vinay/Downloads/EShopee-Flutter-eCommerce-App-main/EShopee-Flutter-eCommerce-App-main.
Command PhaseScriptExecution failed with a nonzero exit code


Showing Recent Messages
/Volumes/APPLE%20SD%20Card%20Reader%20Media/Flutter/flutter_macos_2.5.3-stable/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_svg-0.19.2+1/lib/src/picture_provider.dart:57:59: Error: No named parameter with the name 'nullOk'.

        context != null ? Localizations.localeOf(context, nullOk: true) : null,

                                                          ^^^^^^

/Volumes/APPLE%20SD%20Card%20Reader%20Media/Flutter/flutter_macos_2.5.3-stable/flutter/packages/flutter/lib/src/widgets/localizations.dart:413:17: Context: Found this candidate, but the arguments don't match.

  static Locale localeOf(BuildContext context) {

                ^^^^^^^^

Failed to package /Users/Vinay/Downloads/EShopee-Flutter-eCommerce-App-main/EShopee-Flutter-eCommerce-App-main.

Command PhaseScriptExecution failed with a nonzero exit code


Thanks a lot in advance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions