-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Description
The following _Exception was thrown resolving an image codec:
Exception: Invalid image data
When the exception was thrown, this was the stack:
#0 _futurize (dart:ui/painting.dart:7021:5)
#1 ImageDescriptor.encoded (dart:ui/painting.dart:6827:12)
#2 instantiateImageCodecWithSize (dart:ui/painting.dart:2306:60)
#3 PaintingBinding.instantiateImageCodecWithSize (package:flutter/src/painting/binding.dart:146:15)
#4 MemoryImage._loadAsync (package:flutter/src/painting/image_provider.dart:1579:18)
<asynchronous suspension>
#5 MultiFrameImageStreamCompleter._handleCodecReady (package:flutter/src/painting/image_stream.dart:1013:3)
<asynchronous suspension>
appList = await DeviceInstalledApps.getApps(
includeSystemApps: true,
);
ListTile(
leading: Image.memory(
appList[index].icon!,
width: 40,
height: 40,
),
title: Text(appList[index].name!),
);
device_installed_apps: ^1.0.1
tried to pull app icons , not working though
no UI example is available in pub.dev example page
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels