fix smooth scaling for cached comics

Signed-off-by: Azuki <id_azuki@protonmail.com>
This commit is contained in:
niuhuan 2022-02-04 18:13:22 +08:00
parent 4f8cc81769
commit 52d125235a
4 changed files with 23 additions and 13 deletions

View File

@ -76,7 +76,8 @@ VPN->代理->分流, 这三个功能如果同时设置, 您会在您手机的VPN
### 开发环境准备 ### 开发环境准备
- [golang](https://golang.org/) (1.16以上版本) - [golang](https://golang.org/) (1.16以上版本)
- [flutter](https://flutter.dev/) (stable-2.8.0)(flutter不同版本api差异较大,建议使用临近的版本) - [flutter](https://flutter.dev/) (stable-2.10.0)
- flutter不同版本api差异较大,建议使用临近的beta版本
### 环境配置 ### 环境配置
@ -93,6 +94,7 @@ VPN->代理->分流, 这三个功能如果同时设置, 您会在您手机的VPN
# 或 # 或
go install github.com/go-flutter-desktop/hover@latest go install github.com/go-flutter-desktop/hover@latest
``` ```
- 若您希望使用stable版本的flutter, 请使用github.com/niuhuan/hover
- 安装gcc - 安装gcc
```shell ```shell
# Windows需要安装MSYS(mingw-w64-x86_64-gcc), 并将gcc路径设置到PATH环境变量内 # Windows需要安装MSYS(mingw-w64-x86_64-gcc), 并将gcc路径设置到PATH环境变量内

View File

@ -1,5 +1,5 @@
buildscript { buildscript {
ext.kotlin_version = '1.3.50' ext.kotlin_version = '1.6.10'
repositories { repositories {
google() google()
jcenter() jcenter()

View File

@ -1465,6 +1465,7 @@ class _GalleryReaderState extends _ImageReaderContentState {
}, },
); );
}, },
filterQuality: FilterQuality.high,
); );
} }
return PhotoViewGalleryPageOptions( return PhotoViewGalleryPageOptions(

View File

@ -70,7 +70,7 @@ packages:
name: event name: event
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "2.0.5" version: "2.1.2"
fake_async: fake_async:
dependency: transitive dependency: transitive
description: description:
@ -161,6 +161,13 @@ packages:
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "0.12.11" version: "0.12.11"
material_color_utilities:
dependency: transitive
description:
name: material_color_utilities
url: "https://pub.dartlang.org"
source: hosted
version: "0.1.3"
meta: meta:
dependency: transitive dependency: transitive
description: description:
@ -244,7 +251,7 @@ packages:
name: plugin_platform_interface name: plugin_platform_interface
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "2.0.2" version: "2.1.2"
scrollable_positioned_list: scrollable_positioned_list:
dependency: "direct main" dependency: "direct main"
description: description:
@ -298,7 +305,7 @@ packages:
name: test_api name: test_api
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "0.4.3" version: "0.4.8"
typed_data: typed_data:
dependency: transitive dependency: transitive
description: description:
@ -312,49 +319,49 @@ packages:
name: url_launcher name: url_launcher
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "6.0.17" version: "6.0.18"
url_launcher_android: url_launcher_android:
dependency: transitive dependency: transitive
description: description:
name: url_launcher_android name: url_launcher_android
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "6.0.13" version: "6.0.14"
url_launcher_ios: url_launcher_ios:
dependency: transitive dependency: transitive
description: description:
name: url_launcher_ios name: url_launcher_ios
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "6.0.13" version: "6.0.14"
url_launcher_linux: url_launcher_linux:
dependency: transitive dependency: transitive
description: description:
name: url_launcher_linux name: url_launcher_linux
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "2.0.2" version: "2.0.3"
url_launcher_macos: url_launcher_macos:
dependency: transitive dependency: transitive
description: description:
name: url_launcher_macos name: url_launcher_macos
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "2.0.2" version: "2.0.3"
url_launcher_platform_interface: url_launcher_platform_interface:
dependency: transitive dependency: transitive
description: description:
name: url_launcher_platform_interface name: url_launcher_platform_interface
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "2.0.4" version: "2.0.5"
url_launcher_web: url_launcher_web:
dependency: transitive dependency: transitive
description: description:
name: url_launcher_web name: url_launcher_web
url: "https://pub.dartlang.org" url: "https://pub.dartlang.org"
source: hosted source: hosted
version: "2.0.5" version: "2.0.7"
url_launcher_windows: url_launcher_windows:
dependency: transitive dependency: transitive
description: description:
@ -377,5 +384,5 @@ packages:
source: hosted source: hosted
version: "5.3.1" version: "5.3.1"
sdks: sdks:
dart: ">=2.14.0 <3.0.0" dart: ">=2.15.1 <3.0.0"
flutter: ">=2.5.0" flutter: ">=2.5.0"