Download, cache and show images in a flutter app

Overview

Cached network image

pub package codecov Build Status

A flutter library to show images from the internet and keep them in the cache directory.

Sponsors


Try the Flutter Chat Tutorial πŸ’¬

How to use

The CachedNetworkImage can be used directly or through the ImageProvider. Both the CachedNetworkImage as CachedNetworkImageProvider have minimal support for web. It currently doesn't include caching.

With a placeholder:

CachedNetworkImage(
        imageUrl: "http://via.placeholder.com/350x150",
        placeholder: (context, url) => CircularProgressIndicator(),
        errorWidget: (context, url, error) => Icon(Icons.error),
     ),

Or with a progress indicator:

CachedNetworkImage(
       imageUrl: "http://via.placeholder.com/350x150",
       progressIndicatorBuilder: (context, url, downloadProgress) => 
               CircularProgressIndicator(value: downloadProgress.progress),
       errorWidget: (context, url, error) => Icon(Icons.error),
    ),
Image(image: CachedNetworkImageProvider(url))

When you want to have both the placeholder functionality and want to get the imageprovider to use in another widget you can provide an imageBuilder:

CachedNetworkImage(
  imageUrl: "http://via.placeholder.com/200x150",
  imageBuilder: (context, imageProvider) => Container(
    decoration: BoxDecoration(
      image: DecorationImage(
          image: imageProvider,
          fit: BoxFit.cover,
          colorFilter:
              ColorFilter.mode(Colors.red, BlendMode.colorBurn)),
    ),
  ),
  placeholder: (context, url) => CircularProgressIndicator(),
  errorWidget: (context, url, error) => Icon(Icons.error),
),

How it works

The cached network images stores and retrieves files using the flutter_cache_manager.

FAQ

My app crashes when the image loading failed. (I know, this is not really a question.)

Does it really crash though? The debugger might pause, as the Dart VM doesn't recognize it as a caught exception; the console might print errors; even your crash reporting tool might report it (I know, that really sucks). However, does it really crash? Probably everything is just running fine. If you really get an app crashes you are fine to report an issue, but do that with a small example so we can reproduce that crash.

See for example this or this answer on previous posted issues.

Comments
  •  HttpException: No valid statuscode.

    HttpException: No valid statuscode.

    I have sentry running and looked at my logs - for this error sentry was triggered 237 times in 1 day !.

    If the URL is invalid, not found or malformed - I was under the impression that an error widget would be rendered instead ??

    Exception is :

    HttpException: HttpException: No valid statuscode. Statuscode was 403
      File "cache_manager.dart", line 120, in BaseCacheManager.getFile
      File "<asynchronous suspension>"
      File "cached_image_widget.dart", line 270, in CachedNetworkImageState._animatedWidget
      File "cached_image_widget.dart", line 196, in CachedNetworkImageState.build
      File "framework.dart", line 4047, in StatefulElement.build
      File "framework.dart", line 3941, in ComponentElement.performRebuild
      File "framework.dart", line 3738, in Element.rebuild
      File "framework.dart", line 3924, in ComponentElement._firstBuild
      File "framework.dart", line 4088, in StatefulElement._firstBuild
      File "framework.dart", line 3919, in ComponentElement.mount
      File "framework.dart", line 3101, in Element.inflateWidget
      File "framework.dart", line 5233, in MultiChildRenderObjectElement.mount
      File "framework.dart", line 3101, in Element.inflateWidget
      File "framework.dart", line 2904, in Element.updateChild
      File "framework.dart", line 3961, in ComponentElement.performRebuild
      File "framework.dart", line 3738, in Element.rebuild
      File "framework.dart", line 3924, in ComponentElement._firstBuild
      File "framework.dart", line 4088, in StatefulElement._firstBuild
      File "framework.dart", line 3919, in ComponentElement.mount
      File "framework.dart", line 3101, in Element.inflateWidget
      File "framework.dart", line 5233, in MultiChildRenderObjectElement.mount
      File "framework.dart", line 3101, in Element.inflateWidget
      File "framework.dart", line 5233, in MultiChildRenderObjectElement.mount
    
    
    status: triage status: fixed? 
    opened by ssbaval 55
  •  Error: The method 'CachedNetworkImageProvider.load' has fewer positional arguments than those of overridden method 'ImageProvider.load'

    Error: The method 'CachedNetworkImageProvider.load' has fewer positional arguments than those of overridden method 'ImageProvider.load'

    When I use the latest version of flutter, the following error will be reported when I introduce this library

    Compiler message: ../../../../macLib/flutter/.pub-cache/hosted/pub.flutter-io.cn/cached_network_image-1.1.2+1/lib/src/cached_network_image_provider.dart:53:24: Error: The method 'CachedNetworkImageProvider.load' has fewer positional arguments than those of overridden method 'ImageProvider.load'. ImageStreamCompleter load(CachedNetworkImageProvider key) { ^ ../../../../macLib/flutter/packages/flutter/lib/src/painting/image_provider.dart:403:24: Context: This is the overridden method ('load'). ImageStreamCompleter load(T key, DecoderCallback decode); ^ ../../../../macLib/flutter/.pub-cache/hosted/pub.flutter-io.cn/cached_network_image-1.1.2+1/lib/src/scaled_file_image.dart:45:24: Error: The method 'ScaledFileImage.load' has fewer positional arguments than those of overridden method 'ImageProvider.load'. ImageStreamCompleter load(ScaledFileImage key) { ^ ../../../../macLib/flutter/packages/flutter/lib/src/painting/image_provider.dart:403:24: Context: This is the overridden method ('load'). ImageStreamCompleter load(T key, DecoderCallback decode); ^ Exception: Errors during snapshot creation: null #0 KernelSnapshot.build (package:flutter_tools/src/build_system/targets/dart.dart:225:7) #1 _BuildInstance._invokeInternal (package:flutter_tools/src/build_system/build_system.dart:526:25) #2 _BuildInstance.invokeTarget. (package:flutter_tools/src/build_system/build_system.dart:481:35) #3 new Future.sync (dart:async/future.dart:224:31) #4 AsyncMemoizer.runOnce (package:async/src/async_memoizer.dart:43:45) #5 _BuildInstance.invokeTarget (package:flutter_tools/src/build_system/build_system.dart:481:21) #6 BuildSystem.build (package:flutter_tools/src/build_system/build_system.dart:419:36) #7 _AsyncAwaitCompleter.start (dart:async-patch/async_patch.dart:43:6) #8 BuildSystem.build (package:flutter_tools/src/build_system/build_system.dart:400:28) #9 buildWithAssemble (package:flutter_tools/src/bundle.dart:122:48) #10 _AsyncAwaitCompleter.start (dart:async-patch/async_patch.dart:43:6) #11 buildWithAssemble (package:flutter_tools/src/bundle.dart:98:31) #12 BundleBuilder.build (package:flutter_tools/src/bundle.dart:75:11) #13 _AsyncAwaitCompleter.start (dart:async-patch/async_patch.dart:43:6) #14 BundleBuilder.build (package:flutter_tools/src/bundle.dart:52:21) #15 IOSSimulator._sideloadUpdatedAssetsForInstalledApplicationBundle (package:flutter_tools/src/ios/simulators.dart:453:28) #16 IOSSimulator._setupUpdatedApplicationBundle (package:flutter_tools/src/ios/simulators.dart:420:11) #17 _AsyncAwaitCompleter.start (dart:async-patch/async_patch.dart:43:6) #18 IOSSimulator._setupUpdatedApplicationBundle (package:flutter_tools/src/ios/simulators.dart:419:46) #19 IOSSimulator.startApp (package:flutter_tools/src/ios/simulators.dart:352:15) #20 _AsyncAwaitCompleter.start (dart:async-patch/async_patch.dart:43:6) #21 IOSSimulator.startApp (package:flutter_tools/src/ios/simulators.dart:339:32) #22 FlutterDevice.runHot (package:flutter_tools/src/resident_runner.dart:380:54) #23 _asyncThenWrapperHelper. (dart:async-patch/async_patch.dart:71:64) #24 _rootRunUnary (dart:async/zone.dart:1132:38) #25 _CustomZone.runUnary (dart:async/zone.dart:1029:19) #26 _FutureListener.handleValue (dart:async/future_impl.dart:137:18) #27 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:678:45) #28 Future._propagateToListeners (dart:async/future_impl.dart:707:32) #29 Future._completeWithValue (dart:async/future_impl.dart:522:5) #30 _AsyncAwaitCompleter.complete (dart:async-patch/async_patch.dart:30:15) #31 _completeOnAsyncReturn (dart:async-patch/async_patch.dart:288:13) #32 BuildableIOSApp.fromProject (package:flutter_tools/src/application_package.dart) #33 _asyncThenWrapperHelper. (dart:async-patch/async_patch.dart:71:64) #34 _rootRunUnary (dart:async/zone.dart:1132:38) #35 _CustomZone.runUnary (dart:async/zone.dart:1029:19) #36 _FutureListener.handleValue (dart:async/future_impl.dart:137:18) #37 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:678:45) #38 Future._propagateToListeners (dart:async/future_impl.dart:707:32) #39 Future._completeWithValue (dart:async/future_impl.dart:522:5) #40 Future._asyncComplete. (dart:async/future_impl.dart:552:7) #41 _rootRun (dart:async/zone.dart:1124:13) #42 _CustomZone.run (dart:async/zone.dart:1021:19) #43 _CustomZone.runGuarded (dart:async/zone.dart:923:7) #44 _CustomZone.bindCallbackGuarded. (dart:async/zone.dart:963:23) #45 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #46 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #47 _runPendingImmediateCallback (dart:isolate-patch/isolate_patch.dart:116:13) #48 _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:173:5)

    This is my version of Flutter:

    Flutter 1.10.15-pre.166 β€’ channel master β€’ https://github.com/flutter/flutter.git Framework β€’ revision 1781d5c9bb (18 minutes ago) β€’ 2019-10-17 19:22:47 -0700 Engine β€’ revision 508146f0de Tools β€’ Dart 2.6.0 (build 2.6.0-dev.8.0 f020ce5d23)

    opened by xiaodeng2014 47
  • Operand of null-aware operation '?.' has type 'SchedulerBinding' which excludes null.

    Operand of null-aware operation '?.' has type 'SchedulerBinding' which excludes null.

    Warning: Operand of null-aware operation '?.' has type 'SchedulerBinding' which excludes null.
    ../…/image_provider/multi_image_stream_completer.dart:152
    - 'SchedulerBinding' is from 'package:flutter[/src/scheduler/binding.dart]()' ('.[./../../fvm/versions/beta/packages/flutter/lib/src/scheduler/binding.dart]()').
    package:flutter/…/scheduler/binding.dart:1
        SchedulerBinding.instance?.scheduleFrameCallback(_handleAppFrame);
                         ^
    

    Flutter 2.12.0-4.1.pre

    opened by muriloventuroso 35
  •  Unhandled Exception: HttpException: No valid statuscode. Statuscode was 404

    Unhandled Exception: HttpException: No valid statuscode. Statuscode was 404

    E/flutter (18499): [ERROR:flutter/lib/ui/ui_dart_state.cc(148)] Unhandled Exception: HttpException: No valid statuscode. Statuscode was 404 E/flutter (18499): #0 BaseCacheManager.getFile package:flutter_cache_manager/src/cache_manager.dart:120 E/flutter (18499): E/flutter (18499): #1 CachedNetworkImageState._animatedWidget package:cached_network_image/src/cached_image_widget.dart:261 E/flutter (18499): #2 CachedNetworkImageState.build package:cached_network_image/src/cached_image_widget.dart:194 E/flutter (18499): #3 StatefulElement.build package:flutter/…/widgets/framework.dart:3825 E/flutter (18499): #4 ComponentElement.performRebuild package:flutter/…/widgets/framework.dart:3736 E/flutter (18499): #5 Element.rebuild package:flutter/…/widgets/framework.dart:3559 E/flutter (18499): #6 ComponentElement._firstBuild package:flutter/…/widgets/framework.dart:3716 E/flutter (18499): #7 StatefulElement._firstBuild package:flutter/…/widgets/framework.dart:3864 E/flutter (18499): #8 ComponentElement.mount package:flutter/…/widgets/framework.dart:3711 E/flutter (18499): #9 Element.inflateWidget package:flutter/…/widgets/framework.dart:2956 E/flutter (18499): #10 Element.updateChild package:flutter/…/widgets/framework.dart:2759 E/flutter (18499): #11 SingleChildRenderObjectElement.mount package:flutter/…/widgets/framework.dart:4876 E/flutter (18499): #12 Element.inflateWidget package:flutter/…/widgets/framework.dart:2956 E/flutter (18499): #13 Element.updateChild package:flutter/…/widgets/framework.dart:2759 E/flutter (18499): #14 SingleChildRenderObjectElement.mount package:flutter/…/widgets/framework.dart:4876 E/flutter (18499): #15 Element.inflateWidget package:flutter/…/widgets/framework.dart:2956 E/flutter (18499): #16 Element.updateChild package:flutter/…/widgets/framework.dart:2759 E/flutter (18499): #17 SingleChildRenderObjectElement.mount package:flutter/…/widgets/framework.dart:4876 E/flutter (18499): #18 Element.inflateWidget package:flutter/…/widgets/framework.dart:2956 E/flutter (18499): #19 Element.updateChild package:flutter/…/widgets/framework.dart:2759 E/flutter (18499): #20 ComponentElement.performRebuild package:flutter/…/widgets/framework.dart:3747 E/flutter (18499): #21 Element.rebuild package:flutter/…/widgets/framework.dart:3559 E/flutter (18499): #22 ComponentElement._firstBuild package:flutter/…/widgets/framework.dart:3716 E/flutter (18499): #23 ComponentElement.mount package:flutter/…/widgets/framework.dart:3711 E/flutter (18499): #24 Element.inflateWidget package:flutter/…/widgets/framework.dart:2956 E/flutter (18499): #25 Element.updateChild package:flutter/…/widgets/framework.dart:2759 E/flutter (18499): #26 ComponentElement.performRebuild package:flutter/…/widgets/framework.dart:3747 E/flutter (18499): #27 Element.rebuild package:flutter/…/widgets/framework.dart:3559 E/flutter (18499): #28 ComponentElement._firstBuild package:flutter/…/widgets/framework.dart:3716 E/flutter (18499): #29 ComponentElement.mount package:flutter/…/widgets/framework.dart:3711 E/flutter (18499): #30 Element.inflateWidget package:flutter/…/widgets/framework.dart:2956 E/flutter (18499): #31 Element.updateChild package:flutter/…/widgets/framework.dart:2759 E/flutter (18499): #32 ComponentElement.performRebuild package:flutter/…/widgets/framework.dart:3747 E/flutter (18499): #33 Element.rebuild package:flutter/…/widgets/framework.dart:3559 E/flutter (18499): #34 ComponentElement._firstBuild package:flutter/…/widgets/framework.dart:3716 E/flutter (18499): #35 ComponentElement.mount package:flutter/…/widgets/framework.dart:3711 E/flutter (18499): #36 Element.inflateWidget package:flutter/…/widgets/framework.dart:2956 E/flutter (18499): #37 Element.updateChild package:flutter/…/widgets/framework.dart:2759 E/flutter (18499): #38 ComponentElement.performRebuild

    opened by anjrew 32
  • Blinking images upon returning back to an already loaded view.

    Blinking images upon returning back to an already loaded view.

    Hey all - I have been working on an app for a while now and I noticed that I keep encountering a flicker whenever I navigate to a new page and come back.

    Page1 Page2

    From Page1 I navigate to Page2. From Page2 I click a button to run Navigation.context.pop() and it returns to Page1 however all of the images need a blink of a millisecond to load up. This gives the app a very poor user experience.

    If so what can I do about this?

    flutter doctor -v

    Doctor summary (to see all details, run flutter doctor -v):
    [βœ“] Flutter (Channel stable, v1.12.13+hotfix.5, on Mac OS X 10.14.6 18G103, locale en-US)
    
    [βœ“] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
    [βœ“] Xcode - develop for iOS and macOS (Xcode 11.2.1)
    [βœ“] Android Studio (version 3.5)
    [βœ“] VS Code (version 1.41.0)
    [βœ“] Connected device (1 available)
    
    β€’ No issues found!
    Ramies-MacBook-Pro:breakthrough ramiechaarani$ flutter doctor -v
    [βœ“] Flutter (Channel stable, v1.12.13+hotfix.5, on Mac OS X 10.14.6 18G103, locale en-US)
        β€’ Flutter version 1.12.13+hotfix.5 at /Users/ramiechaarani/workspace/flutter
        β€’ Framework revision 27321ebbad (6 weeks ago), 2019-12-10 18:15:01 -0800
        β€’ Engine revision 2994f7e1e6
        β€’ Dart version 2.7.0
    
    [βœ“] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
        β€’ Android SDK at /Users/ramiechaarani/Library/Android/sdk
        β€’ Android NDK location not configured (optional; useful for native profiling support)
        β€’ Platform android-29, build-tools 29.0.2
        β€’ Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
        β€’ Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)
        β€’ All Android licenses accepted.
    
    [βœ“] Xcode - develop for iOS and macOS (Xcode 11.2.1)
        β€’ Xcode at /Applications/Xcode.app/Contents/Developer
        β€’ Xcode 11.2.1, Build version 11B500
        β€’ CocoaPods version 1.8.4
    
    [βœ“] Android Studio (version 3.5)
        β€’ Android Studio at /Applications/Android Studio.app/Contents
        β€’ Flutter plugin version 42.1.1
        β€’ Dart plugin version 191.8593
        β€’ Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)
    
    [βœ“] VS Code (version 1.41.0)
        β€’ VS Code at /Applications/Visual Studio Code.app/Contents
        β€’ Flutter extension version 3.7.1
    
    [βœ“] Connected device (1 available)
        β€’ Ramie's iPhone β€’ 00008020-000C09363C69002E β€’ ios β€’ iOS 13.3
    
    β€’ No issues found!
    
    type: bug status: fixed? 
    opened by ramiechaarani 26
  • Could not instantiate image codec

    Could not instantiate image codec

    if url response like this

    code:200 body: { msg:xxxxx ζ–‡δ»ΆδΈε­˜εœ¨ }

    throw Exception: Could not instantiate image codec.

    When the exception was thrown, this was the stack: #0 _futurize (dart:ui/painting.dart:4134:5) #1 instantiateImageCodec (dart:ui/painting.dart:1669:10) #2 PaintingBinding.instantiateImageCodec (package:flutter/src/painting/binding.dart:74:12) #3 FileImage._loadAsync (package:flutter/src/painting/image_provider.dart:545:43) ...

    ════════════════════════════════════════════════════════════════════════════════════════════════════

    opened by yizems 25
  • FileSystemException: Cannot delete file

    FileSystemException: Cannot delete file

    Firebase keeps reporting issues in my app that look like this:

    FileSystemException: Cannot delete file, path = '/data/user/0/<PACKAGE>/cache/libCachedImageData/6cbff3e0-301f-11ea-d72d-0335a490e7f0.png' (OS Error: No such file or directory, errno = 2)
    

    Not really sure what causes them, I have a hard time recreating it too.

    type: bug up for graps 
    opened by jovanovski 21
  • The method 'inheritFromWidgetOfExactType' was called on null. Receiver: null Tried calling: inheritFromWidgetOfExactType()

    The method 'inheritFromWidgetOfExactType' was called on null. Receiver: null Tried calling: inheritFromWidgetOfExactType()

    0.5.0

    DefaultAssetBundle.of (package:flutter/src/widgets/basic.dart:4836) createLocalImageConfiguration (package:flutter/src/widgets/image.dart:48) _CachedNetworkImageState._imageLoadingFailed (package:cached_network_image/cached_network_image.dart:376) CachedNetworkImageProvider._loadAsync (package:cached_network_image/cached_network_image.dart:474) CachedNetworkImageProvider.load (package:cached_network_image/cached_network_image.dart:462)

    status: triage 
    opened by fly512 21
  • Web-specific analysis errors

    Web-specific analysis errors

    As promised in that other issue, looking into your code, you seem to expect a single file with conditional import to work flawlessly. Yes, I don't think that will fly. What I have instead (and what is discussed in some places in the web) is the stub approach. A bit like federated but at a very small scale (and this isn't federated just reduced, it's much older than the idea of federated itself).

    Basically, you need four files, not a single one. One that I prefer to call interface.dart that provides an abstract class with a factory. Then one file for each platform plus one. The plus one just throws an UnimplementedError when called, and the platform ones implement the abstract class. The interface has the conditional import but for both cases, not one like in your code:

    import 'worker.dart' //
        if (dart.library.io) 'worker_io.dart'
        if (dart.library.html) 'worker_web.dart';
    

    When used, you use the factory to get the actual platform-dependent variant and simply use it with whatever API your class provides to the underlying functionality. Check out some actual code at https://github.com/deakjahn/flutter_isolate_web.

    Sorry if this is something you know and tried and dismissed already but I think it could be the solution to your problem. If this is enough in your case, then federated would be indeed overkill.

    opened by deakjahn 19
  • Invalid Image Data

    Invalid Image Data

    πŸ’¬ Questions and Help

    I don't know why but I am getting Invalid Image Data using this package which is an runtime error and it doesn't crash my app but it does pause my app while running on emulator using VSCODE.

    status: needs more info 
    opened by chinkysight 19
  • Does not work on Android 10 device release build

    Does not work on Android 10 device release build

    My test device have android 10 I have cached_network_image: ^2.2.0+1

    in build.gradle I have;

    minSdkVersion 21 targetSdkVersion 29

    When I run it in debug mode on the device everything works fine.

    But when I run it in release mode does not show any images, but I can see the data is getting downloaded.

    flutter run --release -v

    [ +129 ms] executing: [C:\flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H [ +86 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H [ ] 2ae34518b87dd891355ed6c6ea8cb68c4d52bb9d [ ] executing: [C:\flutter/] git tag --contains HEAD [ +357 ms] Exit code 0 from: git tag --contains HEAD [ ] 1.20.1 [ +7 ms] executing: [C:\flutter/] git rev-parse --abbrev-ref --symbolic @{u} [ +67 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u} [ ] origin/stable [ ] executing: [C:\flutter/] git ls-remote --get-url origin [ +52 ms] Exit code 0 from: git ls-remote --get-url origin [ ] https://github.com/flutter/flutter.git [ +90 ms] executing: [C:\flutter/] git rev-parse --abbrev-ref HEAD [ +56 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD [ ] stable [ +70 ms] Artifact Instance of 'AndroidMavenArtifacts' is not required, skipping update. [ +1 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update. [ ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update. [ ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update. [ ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update. [ +4 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update. [ ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update. [ +1 ms] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update. [ +1 ms] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update. [ ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update. [ ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update. [ ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update. [ +25 ms] executing: C:\Android\Sdk\platform-tools\adb.exe devices -l [ +59 ms] List of devices attached emulator-5554 device product:sdk_gphone_x86_arm model:AOSP_on_IA_Emulator device:generic_x86_arm transport_id:1 [ +14 ms] C:\Android\Sdk\platform-tools\adb.exe -s emulator-5554 shell getprop [ +97 ms] Artifact Instance of 'AndroidMavenArtifacts' is not required, skipping update. [ +10 ms] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update. [ ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update. [ ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update. [ +3 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update. [ ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update. [ ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update. [ ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update. [ ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update. [ ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update. [ +1 ms] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update. [ +164 ms] Found plugin cloud_firestore at C:\Users\Janaka\AppData\Roaming\Pub\Cache\hosted\pub.dartlang.org\cloud_firestore-0.13.7
    [ +14 ms] Found plugin cloud_firestore_web at C:\Users\Janaka\AppData\Roaming\Pub\Cache\hosted\pub.dartlang.org\cloud_firestore_web-0.1.1+2
    [ +23 ms] Found plugin firebase_auth at C:\Users\Janaka\AppData\Roaming\Pub\Cache\hosted\pub.dartlang.org\firebase_auth-0.16.1
    [ +7 ms] Found plugin firebase_auth_web at C:\Users\Janaka\AppData\Roaming\Pub\Cache\hosted\pub.dartlang.org\firebase_auth_web-0.1.3+1
    [ +5 ms] Found plugin firebase_core at C:\Users\Janaka\AppData\Roaming\Pub\Cache\hosted\pub.dartlang.org\firebase_core-0.4.5
    [ +7 ms] Found plugin firebase_core_web at C:\Users\Janaka\AppData\Roaming\Pub\Cache\hosted\pub.dartlang.org\firebase_core_web-0.1.1+2
    [ +4 ms] Found plugin firebase_storage at C:\Users\Janaka\AppData\Roaming\Pub\Cache\hosted\pub.dartlang.org\firebase_storage-3.1.6
    [ +9 ms] Found plugin flutter_facebook_login at C:\Users\Janaka\AppData\Roaming\Pub\Cache\hosted\pub.dartlang.org\flutter_facebook_login-3.0.0
    [ +7 ms] Found plugin flutter_plugin_android_lifecycle at C:\Users\Janaka\AppData\Roaming\Pub\Cache\hosted\pub.dartlang.org\flutter_plugin_android_lifecycle-1.0.8
    [ +11 ms] Found plugin image_picker at C:\Users\Janaka\AppData\Roaming\Pub\Cache\hosted\pub.dartlang.org\image_picker-0.6.7+4
    [ +21 ms] Found plugin path_provider at C:\Users\Janaka\AppData\Roaming\Pub\Cache\hosted\pub.dartlang.org\path_provider-1.6.11
    [ +5 ms] Found plugin path_provider_linux at C:\Users\Janaka\AppData\Roaming\Pub\Cache\hosted\pub.dartlang.org\path_provider_linux-0.0.1+2
    [ +3 ms] Found plugin path_provider_macos at C:\Users\Janaka\AppData\Roaming\Pub\Cache\hosted\pub.dartlang.org\path_provider_macos-0.0.4+3
    [ +29 ms] Found plugin sqflite at C:\Users\Janaka\AppData\Roaming\Pub\Cache\hosted\pub.dartlang.org\sqflite-1.3.1
    [ +20 ms] Found plugin url_launcher at C:\Users\Janaka\AppData\Roaming\Pub\Cache\hosted\pub.dartlang.org\url_launcher-5.5.0
    [ +3 ms] Found plugin url_launcher_linux at C:\Users\Janaka\AppData\Roaming\Pub\Cache\hosted\pub.dartlang.org\url_launcher_linux-0.0.1+1
    [ +2 ms] Found plugin url_launcher_macos at C:\Users\Janaka\AppData\Roaming\Pub\Cache\hosted\pub.dartlang.org\url_launcher_macos-0.0.1+7
    [ +5 ms] Found plugin url_launcher_web at C:\Users\Janaka\AppData\Roaming\Pub\Cache\hosted\pub.dartlang.org\url_launcher_web-0.1.2
    [ +205 ms] Found plugin cloud_firestore at C:\Users\Janaka\AppData\Roaming\Pub\Cache\hosted\pub.dartlang.org\cloud_firestore-0.13.7
    [ +5 ms] Found plugin cloud_firestore_web at C:\Users\Janaka\AppData\Roaming\Pub\Cache\hosted\pub.dartlang.org\cloud_firestore_web-0.1.1+2
    [ +7 ms] Found plugin firebase_auth at C:\Users\Janaka\AppData\Roaming\Pub\Cache\hosted\pub.dartlang.org\firebase_auth-0.16.1
    [ +3 ms] Found plugin firebase_auth_web at C:\Users\Janaka\AppData\Roaming\Pub\Cache\hosted\pub.dartlang.org\firebase_auth_web-0.1.3+1
    [ +2 ms] Found plugin firebase_core at C:\Users\Janaka\AppData\Roaming\Pub\Cache\hosted\pub.dartlang.org\firebase_core-0.4.5
    [ +3 ms] Found plugin firebase_core_web at C:\Users\Janaka\AppData\Roaming\Pub\Cache\hosted\pub.dartlang.org\firebase_core_web-0.1.1+2
    [ +2 ms] Found plugin firebase_storage at C:\Users\Janaka\AppData\Roaming\Pub\Cache\hosted\pub.dartlang.org\firebase_storage-3.1.6
    [ +2 ms] Found plugin flutter_facebook_login at C:\Users\Janaka\AppData\Roaming\Pub\Cache\hosted\pub.dartlang.org\flutter_facebook_login-3.0.0
    [ +2 ms] Found plugin flutter_plugin_android_lifecycle at C:\Users\Janaka\AppData\Roaming\Pub\Cache\hosted\pub.dartlang.org\flutter_plugin_android_lifecycle-1.0.8
    [ +3 ms] Found plugin image_picker at C:\Users\Janaka\AppData\Roaming\Pub\Cache\hosted\pub.dartlang.org\image_picker-0.6.7+4
    [ +6 ms] Found plugin path_provider at C:\Users\Janaka\AppData\Roaming\Pub\Cache\hosted\pub.dartlang.org\path_provider-1.6.11
    [ +2 ms] Found plugin path_provider_linux at C:\Users\Janaka\AppData\Roaming\Pub\Cache\hosted\pub.dartlang.org\path_provider_linux-0.0.1+2
    [ +2 ms] Found plugin path_provider_macos at C:\Users\Janaka\AppData\Roaming\Pub\Cache\hosted\pub.dartlang.org\path_provider_macos-0.0.4+3
    [ +8 ms] Found plugin sqflite at C:\Users\Janaka\AppData\Roaming\Pub\Cache\hosted\pub.dartlang.org\sqflite-1.3.1
    [ +5 ms] Found plugin url_launcher at C:\Users\Janaka\AppData\Roaming\Pub\Cache\hosted\pub.dartlang.org\url_launcher-5.5.0
    [ +1 ms] Found plugin url_launcher_linux at C:\Users\Janaka\AppData\Roaming\Pub\Cache\hosted\pub.dartlang.org\url_launcher_linux-0.0.1+1
    [ +2 ms] Found plugin url_launcher_macos at C:\Users\Janaka\AppData\Roaming\Pub\Cache\hosted\pub.dartlang.org\url_launcher_macos-0.0.1+7
    [ +3 ms] Found plugin url_launcher_web at C:\Users\Janaka\AppData\Roaming\Pub\Cache\hosted\pub.dartlang.org\url_launcher_web-0.1.2
    [ +78 ms] Generating E:\TechnoGlitter\Janaka\MyApp\Code\Build\JanakaApp\android\app\src\main\java\io\flutter\plugins\GeneratedPluginRegistrant.java [ +32 ms] ro.hardware = ranchu [ +38 ms] "flutter run" took 1,013ms. [ +9 ms] Release mode is not supported by AOSP on IA Emulator. [ +3 ms] #0 throwToolExit (package:flutter_tools/src/base/common.dart:14:3) #1 RunCommand.runCommand (package:flutter_tools/src/commands/run.dart:476:9) #2 FlutterCommand.verifyThenRunCommand (package:flutter_tools/src/runner/flutter_command.dart:860:18) #3 _rootRunUnary (dart:async/zone.dart:1198:47) #4 _CustomZone.runUnary (dart:async/zone.dart:1100:19) #5 _FutureListener.handleValue (dart:async/future_impl.dart:143:18) #6 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:696:45) #7 Future._propagateToListeners (dart:async/future_impl.dart:725:32) #8 Future._completeWithValue (dart:async/future_impl.dart:529:5) #9 _AsyncAwaitCompleter.complete (dart:async-patch/async_patch.dart:40:15) #10 _completeOnAsyncReturn (dart:async-patch/async_patch.dart:311:13) #11 RunCommand.usageValues (package:flutter_tools/src/commands/run.dart) #12 _rootRunUnary (dart:async/zone.dart:1198:47) #13 _CustomZone.runUnary (dart:async/zone.dart:1100:19) #14 _FutureListener.handleValue (dart:async/future_impl.dart:143:18) #15 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:696:45) #16 Future._propagateToListeners (dart:async/future_impl.dart:725:32) #17 Future._completeWithValue (dart:async/future_impl.dart:529:5) #18 _AsyncAwaitCompleter.complete (dart:async-patch/async_patch.dart:40:15) #19 _completeOnAsyncReturn (dart:async-patch/async_patch.dart:311:13) #20 AndroidDevice.isLocalEmulator (package:flutter_tools/src/android/android_device.dart) #21 _rootRunUnary (dart:async/zone.dart:1198:47) #22 _CustomZone.runUnary (dart:async/zone.dart:1100:19) #23 _FutureListener.handleValue (dart:async/future_impl.dart:143:18) #24 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:696:45) #25 Future._propagateToListeners (dart:async/future_impl.dart:725:32) #26 Future._completeWithValue (dart:async/future_impl.dart:529:5) #27 Future._asyncCompleteWithValue. (dart:async/future_impl.dart:567:7) #28 _rootRun (dart:async/zone.dart:1190:13) #29 _CustomZone.run (dart:async/zone.dart:1093:19) #30 _CustomZone.runGuarded (dart:async/zone.dart:997:7) #31 _CustomZone.bindCallbackGuarded. (dart:async/zone.dart:1037:23) #32 _microtaskLoop (dart:async/schedule_microtask.dart:41:21) #33 _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5) #34 _runPendingImmediateCallback (dart:isolate-patch/isolate_patch.dart:118:13) #35 _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:169:5)

    [ +255 ms] ensureAnalyticsSent: 252ms [ +3 ms] Running shutdown hooks [ +1 ms] Shutdown hooks complete [ +1 ms] exiting with code 1

    status: needs more info 
    opened by wijesijp 19
  • I only get HttpExceptionWithStatus when using this package

    I only get HttpExceptionWithStatus when using this package

    πŸ› Bug Report

    When i try to add this package to my project i get a HttpExceptionWithStatus every time i use it. First i thought it was something wrong with my project or some dependencies that crashed somehow. But even if i create a brand new project and only add cached_network_image as a dependency, I get the same error.

    Additional information

    When adding the cached_network_image to my previous project i had problems when running flutter pub get. To fix my issues i have tried the following commands:

    sudo gem install ffi  
    sudo arch -x86_64 gem install ffi
    sudo gem install ffi -- --enable-libffi-alloc
    

    Now flutter pub get works, but the package does not.

    Does anyone have any tips for how to solve this problem?

    Configuration

    I am using a M1 Pro

    Platform:

    • [x] :iphone: iOS
    • [ ] :robot: Android
    opened by tobiasht 0
  • "DatabaseException(attempt to write a readonly database"

    πŸ› Bug Report

    When Im trying to login after immediate logout, few images are not loading and it shows this exception in the logs.

    DatabaseException(attempt to write a readonly database (code 1032 SQLITE_READONLY_DBMOVED)) sql 'DELETE FROM cacheObject WHERE _id = ?' args [13] I/flutter (16798): #0 wrapDatabaseException (package:sqflite/src/exception_impl.dart:11:7) I/flutter (16798): <asynchronous suspension> I/flutter (16798): #1 SqfliteDatabaseMixin.txnRawUpdate.<anonymous closure> (package:sqflite_common/src/database_mixin.dart:418:22) I/flutter (16798): <asynchronous suspension> I/flutter (16798): #2 BasicLock.synchronized (package:synchronized/src/basic_lock.dart:33:16) I/flutter (16798): <asynchronous suspension> I/flutter (16798): #3 SqfliteDatabaseMixin.txnSynchronized (package:sqflite_common/src/database_mixin.dart:344:14) I/flutter (16798): <asynchronous suspension> I/flutter (16798): #4 CacheStore.retrieveCacheData.<anonymous closure> (package:flutter_cache_manager/src/cache_store.dart:79:11) I/flutter (16798): <asynchronous suspension>

    Expected behavior

    Images should load. It does work when app is uninstalled and installed again.

    Reproduction steps

    Configuration

    Version: 1.x

    Platform:

    • Android
    opened by akshay-kapase 0
  • 3.2.2 Error on ipa archive

    3.2.2 Error on ipa archive

    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. Ο€ ^

    opened by antelopeventures 0
  • errorWidget seems to leak exceptions occasionally

    errorWidget seems to leak exceptions occasionally

    πŸ› Bug Report

    I keep get http exceptions in my debug console and error reporting service (Sentry), which shouldn't happen as I use the errorWidget builder. The exceptions look like this:

    I/flutter (14804): ══║ EXCEPTION CAUGHT BY IMAGE RESOURCE SERVICE β•žβ•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•
    I/flutter (14804): The following HttpExceptionWithStatus was thrown resolving an image codec:
    I/flutter (14804): HttpException: Invalid statusCode: 403, uri = <redacted>
    I/flutter (14804):
    I/flutter (14804): When the exception was thrown, this was the stack
    I/flutter (14804):
    I/flutter (14804): Image provider:
    I/flutter (14804): CachedNetworkImageProvider("<redacted>",
    I/flutter (14804): scale: 1.0)
    I/flutter (14804):  Image key:
    I/flutter (14804): CachedNetworkImageProvider("<redacted>",
    I/flutter (14804): scale: 1.0):
    I/flutter (14804):   CachedNetworkImageProvider("<redacted>",
    I/flutter (14804):   scale: 1.0)
    I/flutter (14804): ════════════════════════════════════════════════════════════════════════════════════════════════════
    

    The widget is used like this:

    final uri = "https://firebasestorage.googleapis.com/v0/b/test-proj.appspot.com/o/broken.png?alt=media&token=b89f711d-c90d-46ed-84c8-123456789";
    
    CachedNetworkImage(
          imageUrl: uri,
          errorWidget: (context, url, error) => const Padding(
            padding: EdgeInsets.all(8.0),
            child: Icon(Icons.broken_image_outlined),
          ),
          imageBuilder: (context, imageProvider) {
            return Container(
              decoration: BoxDecoration(
                image: DecorationImage(
                  image: CachedNetworkImageProvider(uri),
                  fit: BoxFit.cover,
                ),
                color: Theme.of(context).cardTheme.color,
              ),
            );
          },
        );
      }
    

    And it does as expected: It shows the Icons.broken_image_outlined for images that can't be loaded, like for example, the image that causes the exception above.

    Expected behavior

    I expect no exceptions to leak when the plugin seems to do what is expected.

    Reproduction steps

    Not sure, there's never any stack trace attached to the above exception, and as mentioned the actual behavior of the widget seems correct.

    Configuration

    Version: 3.2.1

    Platform:

    • [ ] :iphone: iOS (maybe)
    • [x] :robot: Android
    opened by larssn 0
  • Firebase crash report because of

    Firebase crash report because of "Connection closed before full header was received"

    πŸ› Bug Report

    This packages have some trouble when download multiple images on the same view.

    This bug is evident when use this config on your app to log the error on Firebase Crashlytics: FlutterError.onError = FirebaseCrashlytics.instance.recordFlutterFatalError;

    So, how can we care of it to avoid those crashs ?

    Fatal Exception: io.flutter.plugins.firebase.crashlytics.FlutterError: Connection closed before full header was received. Error thrown Instance of 'aA'.\
           at .#0      FirebaseCrashlytics.recordError (package:firebase_crashlytics/src/firebase_crashlytics.dart:119:22)
           at .#1      FirebaseCrashlytics.recordFlutterError (package:firebase_crashlytics/src/firebase_crashlytics.dart:141:12)
           at .#2      FirebaseCrashlytics.recordFlutterFatalError (package:firebase_crashlytics/src/firebase_crashlytics.dart:156:12)
           at .#3      FirebaseCrashlytics.recordFlutterFatalError (package:firebase_crashlytics/src/firebase_crashlytics.dart:154:3)
           at .#4      FlutterError.reportError (package:flutter/src/foundation/assertions.dart:1184:14)
           at .#5      ImageStreamCompleter.reportError (package:flutter/src/painting/image_stream.dart:733:20)
           at .#6      new MultiImageStreamCompleter.<anonymous closure> (package:cached_network_image/src/image_provider/multi_image_stream_completer.dart:32:7)
           at .#7      _RootZone.runBinaryGuarded (dart:async/zone.dart:1598:10)
           at .#8      _BufferingStreamSubscription._sendError.sendError (dart:async/stream_impl.dart:358:15)
           at .#9      _BufferingStreamSubscription._sendError (dart:async/stream_impl.dart:376:7)
           at .#10     _BufferingStreamSubscription._addError (dart:async/stream_impl.dart:280:7)
           at .#11     _SyncStreamControllerDispatch._sendError (dart:async/stream_controller.dart:778:19)
           at .#12     _StreamController._addError (dart:async/stream_controller.dart:656:7)
           at .#13     _StreamController.addError (dart:async/stream_controller.dart:610:5)
           at .#14     _AsyncStarStreamController.addError (dart:async-patch/async_patch.dart:227:16)
           at .#15     _SuspendState._handleException (dart:async-patch/async_patch.dart:564:20)
           at .#16     _SuspendState._createAsyncCallbacks.thenCallback (dart:async-patch/async_patch.dart:344:7)
           at .#17     _RootZone.runUnary (dart:async/zone.dart:1653:54)
           at .#18     _FutureListener.handleValue (dart:async/future_impl.dart:147:18)
           at .#19     Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:766:45)
           at .#20     Future._propagateToListeners (dart:async/future_impl.dart:795:13)
           at .#21     Future._completeWithValue (dart:async/future_impl.dart:566:5)
           at .#22     Future._asyncCompleteWithValue.<anonymous closure> (dart:async/future_impl.dart:639:7)
           at .#23     _microtaskLoop (dart:async/schedule_microtask.dart:40:21)
           at .#24     _startMicrotaskLoop (dart:async/schedule_microtask.dart:49:5)
           at .#25     _startMicrotaskLoop (dart:async/schedule_microtask.dart:44:1)
    

    My environment

    environment:
      sdk: ">=2.18.0 <3.0.0"
      flutter: "3.3.0"
    

    Expected behavior

    Do not crash

    Reproduction steps

    Create a page with a lot of images and open this page. Some of those images will not be loaded

    Configuration

    Version: cached_network_image: ^3.2.2

    Platform:

    • [x] :iphone: iOS
    • [x] :robot: Android
    opened by marcellocamara 1
Owner
Baseflow
We provide software, skills and knowledge and with this we want to make a contribution to the world. We love to make innovation happen.
Baseflow
A Flutter package for iOS and Android for picking location and images.

location and image picker package for Flutter A Flutter package for iOS and Android for picking location and images. Demo Installation First, add loca

sk shamimul islam 8 Oct 13, 2020
Customized google map with widget markers. Enables to show markers with widget code.

widget_marker_google_map Google map with widget markers. Set up Follow the steps on google_maps_flutter document. Usage Same as google_maps_flutter ex

Santa Takahashi 6 Jun 17, 2022
Interactive, thoroughly customizable maps in native Android, iOS, macOS, Node.js, and Qt applications, powered by vector tiles and OpenGL

Mapbox GL Native A C++ library that powers customizable vector maps in native applications on multiple platforms by taking stylesheets that conform to

Mapbox 4.2k Sep 21, 2022
Dart API that provides sunset and sunrise times for a given latitude and longitude

Sunrise Sunset Dart API that provides sunset and sunrise times for a given latit

Asjad 0 Dec 24, 2021
flutter_map plugin to request and display the users location and heading on the map

The plugin is discontinued. Feel free to fork it or checkout similar plugins. Flutter Map – Location plugin A flutter_map plugin to request and displa

Fabian Rosenthal 18 Sep 13, 2022
A map tour guide mobile app based on Flutter, an AI travel notes product integrating map tour guide and UGC.

A map tour guide mobile app based on Flutter, an AI travel notes product integrating map tour guide and UGC. Through the combination of 5g + AI, colle

null 24 Jan 14, 2022
An offline library app of creeds, confessions and catechisms of the protestant reformed churches.

Sound Doctrine | | An iOS/Android app created in Flutter to provide local access to the tested creeds, confessions and articles of the historical prot

Jesse 6 Jul 9, 2022
Mapbox-flutter - A repository to demonstrate the use of Mapbox - it's Maps and Navigation SDKs in a Flutter application

MapBox Flutter This repository contains code corresponding to the Youtube video

AB Satyaprakash 31 Sep 19, 2022
Flutter plugin for forward and reverse geocoding

geocoder Forward and reverse geocoding. Usage Import package:geocoder/geocoder.dart, and use the Geocoder.local to access geocoding services provided

AloΓ―s Deniel 174 Sep 15, 2022
Flutter geolocation plugin for Android and iOS.

geolocation Flutter geolocation plugin for Android API 16+ and iOS 9+. Features: Manual and automatic location permission management Current one-shot

Loup 219 Aug 12, 2022
This is a Flutter package that uses the Google Maps API to make a TextField that tries to autocomplete places as the user types, with simple smooth animations, making a nice UI and UX.

search_map_place This is a Flutter package that uses the Google Maps API to make a TextField that tries to autocomplete places as the user types, with

Lucas Bernardi 127 Sep 6, 2022
Android and iOS Geolocation plugin for Flutter

Flutter geolocator plugin The Flutter geolocator plugin is build following the federated plugin architecture. A detailed explanation of the federated

Baseflow 1k Sep 23, 2022
Android and iOS Geolocation plugin for Flutter

Flutter geolocator plugin The Flutter geolocator plugin is build following the federated plugin architecture. A detailed explanation of the federated

Baseflow 891 Nov 14, 2021
A Flutter plugin to easily handle realtime location in iOS and Android. Provides settings for optimizing performance or battery.

Flutter Location Plugin This plugin for Flutter handles getting a location on Android and iOS. It also provides callbacks when the location is changed

Guillaume Bernos 934 Sep 26, 2022
Localizator is a flutter application that provides your current/given position,and gives you weather Forecasts

Locativity Locativity is a flutter application implements flutter_map and Geolocator plugins to provide your current/given position then render it on

Houssemeddine Souissi 46 Dec 7, 2021
A Flutter package for place search using MapBox Api and for Static map image

About This package provides easy api calls to MapBox Search API. Also, it contains an static map image generator ?? . Maki Icons can be used now in ma

Ketan Choyal 63 May 20, 2022
Get the dialing codes and the name of 250 countries for flutter

This package allows you to get the dialing codes and the name of 250 countries. Features This package contains all dialing codes of the 250 countries.

null 1 Feb 28, 2022
A car rental flutter application using firebase and google maps API

A car sharing & rental app using Flutter, Firebase & Google Maps APIs ?? About the App ?? hopOn is flutter based application for car sharing and renta

Shivani Singh 84 Sep 7, 2022
A Flutter example to use Google Maps in iOS and Android apps via the embedded Google Maps plugin Google Maps Plugin

maps_demo A Flutter example to use Google Maps in iOS and Android apps via the embedded Google Maps plugin Google Maps Plugin Getting Started Get an A

Gerry High 41 Feb 14, 2022