Repository navigation
Closed
Labels
P2Important issues not at the top of the work listImportant issues not at the top of the work liste: web_htmlHTML rendering backend for WebHTML rendering backend for Webengineflutter/engine related. See also e: labels.flutter/engine related. See also e: labels.found in release: 3.0Found to occur in 3.0Found to occur in 3.0found in release: 3.1Found to occur in 3.1Found to occur in 3.1has reproducible stepsThe issue has been confirmed reproducible and is ready to work onThe issue has been confirmed reproducible and is ready to work onplatform-webWeb applications specificallyWeb applications specificallyr: solvedIssue is closed as solvedIssue is closed as solvedteam-webOwned by Web platform teamOwned by Web platform teamtriaged-webTriaged by Web platform teamTriaged by Web platform team
Description
I was using magnifier with BackdropFilter and ImageFilter.matrix , but when I run codes with --web-renderer html , ImageFilter.matrix did not work well. Here are sample codes.
Code sample
import 'dart:ui';
import 'package:flutter/material.dart';
void main() {
runApp(MaterialApp(
home: Homepage(),
));
}
class Homepage extends StatelessWidget {
const Homepage({Key? key}) : super(key: key);
@override
Widget build(BuildContext context) {
Matrix4 newMatrix = Matrix4.identity()..scale(1.5);
return Scaffold(
appBar: AppBar(title: Text("BackdropFilterDemo")),
body: Stack(
children: <Widget>[
Container(
alignment: Alignment.center,
child: Text("BackdropFilterDemo" * 10),
),
BackdropFilter(
// filter: ImageFilter.blur(sigmaX: 5, sigmaY: 5),
filter: ImageFilter.matrix(newMatrix.storage),
child: Container(
color: Colors.white.withAlpha(0),
),
)
],
));
}
}Here are results.
| HTML | Canvaskit |
|---|---|
![]() |
![]() |
Metadata
Metadata
Assignees
Labels
P2Important issues not at the top of the work listImportant issues not at the top of the work liste: web_htmlHTML rendering backend for WebHTML rendering backend for Webengineflutter/engine related. See also e: labels.flutter/engine related. See also e: labels.found in release: 3.0Found to occur in 3.0Found to occur in 3.0found in release: 3.1Found to occur in 3.1Found to occur in 3.1has reproducible stepsThe issue has been confirmed reproducible and is ready to work onThe issue has been confirmed reproducible and is ready to work onplatform-webWeb applications specificallyWeb applications specificallyr: solvedIssue is closed as solvedIssue is closed as solvedteam-webOwned by Web platform teamOwned by Web platform teamtriaged-webTriaged by Web platform teamTriaged by Web platform team


Activity
[-]ImageFilter.matrix in BackdropFilter does not work when using "flutter run -d chrome --web-renderer html"[/-][+][web][html] ImageFilter.matrix in BackdropFilter does not work[/+]danagbemava-nc commentedon Aug 9, 2022
Reproducible using the code sample provided
Labeling for further insight from the team.
screenshots
sample
flutter doctor -v
yjbanov commentedon May 27, 2025
As the HTML renderer has been deprecated and removed from the default Flutter SDK, we're now closing all issues that affect only the HTML renderer. For more information, please see:
github-actions commentedon Jun 11, 2025
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of
flutter doctor -vand a minimal reproduction of the issue.