Comic Reader View
A Flutter plugin designed to solve the issue of blurry rendering for large images in Flutter applications. Flutter's default rendering mechanism (Skia) can struggle with large images, leading to blurriness and performance issues. This plugin addresses these challenges by leveraging native rendering capabilities: on Android, images are rendered using XML layouts, while on iOS, UIKit is utilized. This approach ensures high-quality, crisp rendering of comic and large images, enhancing both performance and user experience in Flutter applications.
Installation
Add
comic_reader_view as a dependency in your pubspec.yaml file:dependencies:
comic_reader_view: ^0.1.0
Usages
import 'package:flutter/material.dart';
import 'package:comic_reader_view/comic_reader_view.dart';
void main() {
runApp(MyApp());
}
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return MaterialApp(
home: Scaffold(
appBar: AppBar(
title: Text('Comic Reader'),
),
body: Center(
child: ComicReaderView(
images: [
"https://example.com/image1.jpg",
"https://example.com/image2.jpg",
"https://example.com/image3.jpg",
// Add more image URLs as needed
],
),
),
),
);
}
}
Features
Native rendering on Android and iOS for high-performance image display.
Solves issues with blurry rendering of large images in Flutter.
Simplifies integration with Flutter applications for comic and image-heavy content.
Compatibility
Dart: >=3.4.0 <4.0.0
Flutter: >=3.3.0
Issues and Feedback
Please file issues or feature requests in the GitHub repository.
License
This project is licensed under the MIT License - see the LICENSE file for details.
0 likes · 30 views · Jul 18, 2024
A Flutter plugin designed to solve the issue of blurry rendering for large images in Flutter applications. - muhAzri/comic_reader_view