Baseflow / Baseflow/flutter_cached_network_image

3.2.2 Error on ipa archive

Open
#781 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Dart
Stars
2.6k
Forks
731
Avg merge
3d 9h
Merged PRs (30d)
1

Description

I get these error on archive with version 3.2.2. Downgraded to 3.2.1 and they went away. Project built and ran fine in debug mode.

/users//FlutterProjects/flutter/.pub-cache/hosted/pub.dartlang.org/cached_network_image-3.2.2/lib/src/image_
provider/_image_loader.dart:5:1: Error: Expected an identifier, but got 'import'.
Try inserting an identifier before 'import'.
import 'dart:ui';
^^^^^^
/users//FlutterProjects/flutter/.pub-cache/hosted/pub.dartlang.org/cached_network_image-3.2.2/lib/src/image_
provider/_image_loader.dart:4:1: Error: Expected ';' after this.
π
^
/users//FlutterProjects/flutter/.pub-cache/hosted/pub.dartlang.org/cached_network_image-3.2.2/lib/src/image_
provider/_image_loader.dart:5:1: Error: Directives must appear before any declarations.
Try moving the directive before any declarations.
import 'dart:ui';
^^^^^^
/users//FlutterProjects/flutter/.pub-cache/hosted/pub.dartlang.org/cached_network_image-3.2.2/lib/src/image_
provider/_image_loader.dart:6:1: Error: Directives must appear before any declarations.
Try moving the directive before any declarations.
import 'package:cached_network_image_platform_interface/cached_network_image_platform_interface.dart';
^^^^^^
/users//FlutterProjects/flutter/.pub-cache/hosted/pub.dartlang.org/cached_network_image-3.2.2/lib/src/image_
provider/_image_loader.dart:7:1: Error: Directives must appear before any declarations.
Try moving the directive before any declarations.
import 'package:flutter/material.dart';
^^^^^^
/users//FlutterProjects/flutter/.pub-cache/hosted/pub.dartlang.org/cached_network_image-3.2.2/lib/src/image_
provider/_image_loader.dart:8:1: Error: Directives must appear before any declarations.
Try moving the directive before any declarations.
import 'package:flutter_cache_manager/flutter_cache_manager.dart';
^^^^^^
/users//FlutterProjects/flutter/.pub-cache/hosted/pub.dartlang.org/cached_network_image-3.2.2/lib/src/image_
provider/_image_loader.dart:10:1: Error: Directives must appear before any declarations.
Try moving the directive before any declarations.
import 'package:cached_network_image_platform_interface'
^^^^^^
/users//FlutterProjects/flutter/.pub-cache/hosted/pub.dartlang.org/cached_network_image-3.2.2/lib/src/image_
provider/_image_loader.dart:13:1: Error: Directives must appear before any declarations.
Try moving the directive before any declarations.
import 'package:cached_network_image_platform_interface'
^^^^^^
/users//FlutterProjects/flutter/.pub-cache/hosted/pub.dartlang.org/cached_network_image-3.2.2/lib/src/image_
provider/_image_loader.dart:4:1: Error: Type 'π' not found.
π
^

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.