You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.10.6, on Microsoft Windows [versÆo 10.0.22621.1992], locale en-US)
[✓] Windows Version (Installed version of Windows is version 10 or higher)
[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.2)
[✓] Chrome - develop for the web
[✓] Visual Studio - develop for Windows (Visual Studio Build Tools 2019 16.11.27)
[✓] Android Studio (version 2022.2)
[✓] VS Code (version 1.81.0)
[✓] Connected device (4 available)
[✓] Network resources
It's been a while, so you've probably already discovered how to fix it, but just in case, I will say what worked for me. My similar code didn't work right away when I installed flutter_cached_network_image while already debugging. All I needed to do was stop debugging and build the app again. I guess that otherwise the dependency may not have the necessary permissions to handle cache properly.
🐛 Bug Report
I am trying to use this code
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),
),
but I am getting this error
E/flutter ( 8610): [ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: MissingPluginException(No implementation found for method getDatabasesPath on channel com.tekartik.sqflite)
E/flutter ( 8610): #0 MethodChannel._invokeMethod
platform_channel.dart:308
E/flutter ( 8610):
E/flutter ( 8610): #1 invokeMethod
sqflite_impl.dart:16
E/flutter ( 8610):
E/flutter ( 8610): #2 wrapDatabaseException
exception_impl.dart:7
E/flutter ( 8610):
E/flutter ( 8610): #3 SqfliteDatabaseFactoryMixin.getDatabasesPath
factory_mixin.dart:177
E/flutter ( 8610):
Expected behavior
Reproduction steps
Configuration
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.10.6, on Microsoft Windows [versÆo 10.0.22621.1992], locale en-US)
[✓] Windows Version (Installed version of Windows is version 10 or higher)
[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.2)
[✓] Chrome - develop for the web
[✓] Visual Studio - develop for Windows (Visual Studio Build Tools 2019 16.11.27)
[✓] Android Studio (version 2022.2)
[✓] VS Code (version 1.81.0)
[✓] Connected device (4 available)
[✓] Network resources
• No issues found!
Version:
Flutter 3.10.6 • channel stable • https://github.com/flutter/flutter.git
Framework • revision f468f3366c (4 weeks ago) • 2023-07-12 15:19:05 -0700
Engine • revision cdbeda788a
Tools • Dart 3.0.6 • DevTools 2.23.1
Platform:
The text was updated successfully, but these errors were encountered: