fixed BackdropFilter related performance issue
This commit is contained in:
parent
14fd7e7137
commit
b3c21cbdde
5 changed files with 10 additions and 10 deletions
|
@ -4,8 +4,6 @@ All notable changes to this project will be documented in this file.
|
||||||
|
|
||||||
## <a id="unreleased"></a>[Unreleased]
|
## <a id="unreleased"></a>[Unreleased]
|
||||||
|
|
||||||
## <a id="v1.6.10"></a>[v1.6.10] - 2022-07-24 [YANKED]
|
|
||||||
|
|
||||||
### Added
|
### Added
|
||||||
|
|
||||||
- Search: `on this day` and month filters in date filter section
|
- Search: `on this day` and month filters in date filter section
|
||||||
|
@ -23,6 +21,8 @@ All notable changes to this project will be documented in this file.
|
||||||
|
|
||||||
- analysis service stuck when storage has ambiguous directories
|
- analysis service stuck when storage has ambiguous directories
|
||||||
|
|
||||||
|
## <a id="v1.6.10"></a>[v1.6.10] - 2022-07-24 [YANKED]
|
||||||
|
|
||||||
## <a id="v1.6.9"></a>[v1.6.9] - 2022-06-18
|
## <a id="v1.6.9"></a>[v1.6.9] - 2022-06-18
|
||||||
|
|
||||||
### Added
|
### Added
|
||||||
|
|
|
@ -3,7 +3,9 @@ import 'dart:ui';
|
||||||
import 'package:flutter/material.dart';
|
import 'package:flutter/material.dart';
|
||||||
|
|
||||||
final _filter = ImageFilter.blur(sigmaX: 4, sigmaY: 4);
|
final _filter = ImageFilter.blur(sigmaX: 4, sigmaY: 4);
|
||||||
const _identity = ColorFilter.matrix(<double>[1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0]);
|
// do not use `ColorFilter.matrix` for identity,
|
||||||
|
// as it yields performance issues when there are other layers on top
|
||||||
|
final _identity = ImageFilter.matrix(Matrix4.identity().storage);
|
||||||
|
|
||||||
class BlurredRect extends StatelessWidget {
|
class BlurredRect extends StatelessWidget {
|
||||||
final bool enabled;
|
final bool enabled;
|
||||||
|
|
|
@ -3,7 +3,7 @@ version: 0.0.1
|
||||||
publish_to: none
|
publish_to: none
|
||||||
|
|
||||||
environment:
|
environment:
|
||||||
sdk: ">=2.17.5 <3.0.0"
|
sdk: ">=2.17.0 <3.0.0"
|
||||||
|
|
||||||
dependencies:
|
dependencies:
|
||||||
flutter:
|
flutter:
|
||||||
|
|
|
@ -298,7 +298,7 @@ packages:
|
||||||
source: hosted
|
source: hosted
|
||||||
version: "1.3.1"
|
version: "1.3.1"
|
||||||
ffi:
|
ffi:
|
||||||
dependency: "direct overridden"
|
dependency: transitive
|
||||||
description:
|
description:
|
||||||
name: ffi
|
name: ffi
|
||||||
url: "https://pub.dartlang.org"
|
url: "https://pub.dartlang.org"
|
||||||
|
@ -418,7 +418,7 @@ packages:
|
||||||
name: flutter_map
|
name: flutter_map
|
||||||
url: "https://pub.dartlang.org"
|
url: "https://pub.dartlang.org"
|
||||||
source: hosted
|
source: hosted
|
||||||
version: "2.1.0"
|
version: "2.1.1"
|
||||||
flutter_markdown:
|
flutter_markdown:
|
||||||
dependency: "direct main"
|
dependency: "direct main"
|
||||||
description:
|
description:
|
||||||
|
@ -771,7 +771,7 @@ packages:
|
||||||
name: pdf
|
name: pdf
|
||||||
url: "https://pub.dartlang.org"
|
url: "https://pub.dartlang.org"
|
||||||
source: hosted
|
source: hosted
|
||||||
version: "3.8.1"
|
version: "3.8.2"
|
||||||
percent_indicator:
|
percent_indicator:
|
||||||
dependency: "direct main"
|
dependency: "direct main"
|
||||||
description:
|
description:
|
||||||
|
@ -864,7 +864,7 @@ packages:
|
||||||
name: printing
|
name: printing
|
||||||
url: "https://pub.dartlang.org"
|
url: "https://pub.dartlang.org"
|
||||||
source: hosted
|
source: hosted
|
||||||
version: "5.9.1"
|
version: "5.9.2"
|
||||||
process:
|
process:
|
||||||
dependency: transitive
|
dependency: transitive
|
||||||
description:
|
description:
|
||||||
|
|
|
@ -90,8 +90,6 @@ dependency_overrides:
|
||||||
git:
|
git:
|
||||||
url: https://github.com/deckerst/flutter-permission-handler
|
url: https://github.com/deckerst/flutter-permission-handler
|
||||||
path: permission_handler_android
|
path: permission_handler_android
|
||||||
# TODO TLAD remove override when this is fixed: https://github.com/DavBfr/dart_pdf/issues/1104
|
|
||||||
ffi: ">=1.1.0 <3.0.0"
|
|
||||||
|
|
||||||
dev_dependencies:
|
dev_dependencies:
|
||||||
flutter_test:
|
flutter_test:
|
||||||
|
|
Loading…
Reference in a new issue