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="v1.6.10"></a>[v1.6.10] - 2022-07-24 [YANKED]
|
||||
|
||||
### Added
|
||||
|
||||
- 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
|
||||
|
||||
## <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
|
||||
|
||||
### Added
|
||||
|
|
|
@ -3,7 +3,9 @@ import 'dart:ui';
|
|||
import 'package:flutter/material.dart';
|
||||
|
||||
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 {
|
||||
final bool enabled;
|
||||
|
|
|
@ -3,7 +3,7 @@ version: 0.0.1
|
|||
publish_to: none
|
||||
|
||||
environment:
|
||||
sdk: ">=2.17.5 <3.0.0"
|
||||
sdk: ">=2.17.0 <3.0.0"
|
||||
|
||||
dependencies:
|
||||
flutter:
|
||||
|
|
|
@ -298,7 +298,7 @@ packages:
|
|||
source: hosted
|
||||
version: "1.3.1"
|
||||
ffi:
|
||||
dependency: "direct overridden"
|
||||
dependency: transitive
|
||||
description:
|
||||
name: ffi
|
||||
url: "https://pub.dartlang.org"
|
||||
|
@ -418,7 +418,7 @@ packages:
|
|||
name: flutter_map
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "2.1.0"
|
||||
version: "2.1.1"
|
||||
flutter_markdown:
|
||||
dependency: "direct main"
|
||||
description:
|
||||
|
@ -771,7 +771,7 @@ packages:
|
|||
name: pdf
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "3.8.1"
|
||||
version: "3.8.2"
|
||||
percent_indicator:
|
||||
dependency: "direct main"
|
||||
description:
|
||||
|
@ -864,7 +864,7 @@ packages:
|
|||
name: printing
|
||||
url: "https://pub.dartlang.org"
|
||||
source: hosted
|
||||
version: "5.9.1"
|
||||
version: "5.9.2"
|
||||
process:
|
||||
dependency: transitive
|
||||
description:
|
||||
|
|
|
@ -90,8 +90,6 @@ dependency_overrides:
|
|||
git:
|
||||
url: https://github.com/deckerst/flutter-permission-handler
|
||||
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:
|
||||
flutter_test:
|
||||
|
|
Loading…
Reference in a new issue