Skip to content

Commit

Permalink
Merge pull request #24 from rushikesh127001/master
Browse files Browse the repository at this point in the history
fixed main_split_image.dart's error
  • Loading branch information
diegoveloper committed Oct 2, 2020
2 parents 14ca3e8 + 287f94f commit 23a2d06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/split_image/main_split_image.dart
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class _MainSplitImageState extends State<MainSplitImage> {
AssetImage("images/characters/broly.png", bundle: rootBundle);
final imageKey = await assetImage.obtainKey(ImageConfiguration());
final DecoderCallback decodeResize =
(Uint8List bytes, {int cacheWidth, int cacheHeight}) {
(Uint8List bytes, {bool allowUpscaling,int cacheWidth, int cacheHeight}) {
return ui.instantiateImageCodec(bytes,
targetHeight: cacheHeight, targetWidth: cacheWidth);
};
Expand Down

0 comments on commit 23a2d06

Please sign in to comment.