Open liushiqi9 opened 5 years ago
I am running the demo with one of my high resolution image. And I can see the image, even zoom it a little bit, but after I zoom it to certain ratio, it will black out, and when it zoom back, it will show the picture again. I think this is a bug.
Image:
Code: `import 'package:flutter/material.dart'; import 'package:pinch_zoom_image/pinch_zoom_image.dart'; import 'package:cached_network_image/cached_network_image.dart'; import 'package:photo_view/photo_view.dart';
class PinchZoomImageDemo extends StatelessWidget { @override Widget build(BuildContext context) { return Scaffold( appBar: AppBar( title: Text('Pinch Zoom Image Demo'), ), body: ListView( children: [ PinchZoomImage( image: CachedNetworkImage( imageUrl: web_url_of_my_image', ), zoomedBackgroundColor: Color.fromRGBO(240, 240, 240, 1.0), ), ], ), ); } }`
I am running the demo with one of my high resolution image. And I can see the image, even zoom it a little bit, but after I zoom it to certain ratio, it will black out, and when it zoom back, it will show the picture again. I think this is a bug.
Image:
Code: `import 'package:flutter/material.dart'; import 'package:pinch_zoom_image/pinch_zoom_image.dart'; import 'package:cached_network_image/cached_network_image.dart'; import 'package:photo_view/photo_view.dart';
class PinchZoomImageDemo extends StatelessWidget { @override Widget build(BuildContext context) { return Scaffold( appBar: AppBar( title: Text('Pinch Zoom Image Demo'), ), body: ListView( children:[
PinchZoomImage(
image: CachedNetworkImage(
imageUrl: web_url_of_my_image',
),
zoomedBackgroundColor: Color.fromRGBO(240, 240, 240, 1.0),
),
],
),
);
}
}`