[Impeller] Render outside viewBox image when there is a `mix-blend-mode` different from normal on iOS
- Dominant language
- Dart
- Stars
- 179k
- Forks
- 31.1k
- PR merge metrics
- PR metrics pending
Description
### Steps to reproduce
1. Create an application
2. Paste code in sample
3. Run on iOS
### Expected results
When I launch with flutter 3.24.5:
### Actual results
When I launch with flutter 3.29.0:
### Code sample
Code sample
```dart
import 'package:flutter/material.dart';
import 'package:flutter_svg/flutter_svg.dart';
void main() {
runApp(const MyApp());
}
class MyApp extends StatelessWidget {
const MyApp({super.key});
@override
Widget build(BuildContext context) {
return MaterialApp(
home: Scaffold(
body: SafeArea(
child: Column(
children: [
SvgPicture.string(svgDataWithSoftLight),
SvgPicture.string(svgDataWithSoftLightAfter),
],
),
),
),
);
}
}
const svgDataWithSoftLight = '''
''';
const svgDataWithSoftLightAfter = '''
''';
```
### Screenshots or Video
_No response_
### Logs
Logs
https://pastebin.com/guQKY2qx
### Flutter Doctor output
Doctor output
```console
[✓] Flutter (Channel stable, 3.27.1, on macOS 15.2 24C101 darwin-arm64, locale fr-FR)
• Flutter version 3.27.1 on channel stable at /Users/user/fvm/versions/stable
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 17025dd882 (3 days ago), 2024-12-17 03:23:09 +0900
• Engine revision cb4b5fff73
• Dart version 3.6.0
• DevTools version 2.40.2
[✓] Android toolchain - develop for Android devices (Android SDK version 35.0.0)
• Android SDK at /Users/user/Library/Android/sdk
• Platform android-35, build-tools 35.0.0
• Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 21.0.3+-79915917-b509.11)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 16.2)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Build 16C5032a
• CocoaPods version 1.16.2
[✓] Chrome - develop for the web
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[✓] Android Studio (version 2024.2)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 21.0.3+-79915917-b509.11)
[✓] VS Code (version 1.96.0)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.102.0
[✓] Connected device (1 available)
• iPhone 16 Plus (mobile) • 129F45AF-B27B-4621-826A-2DD69D97C064 • ios • com.apple.CoreSimulator.SimRuntime.iOS-18-2 (simulator)
[✓] Network resources
• All expected network resources are available.
```
Contributor guide
Assessment
This issue has not been assessed yet.