Closed victorsanni closed 2 months ago
I can also reproduce this issue on Flutter stable 3.24.0
and master 3.24.0-1.0.pre.575
with iPhone 15 Pro, iOS 17.5 (emulator)
. I also checked this on my physical device iPhone 7, iOS 15.8
but the issue didn't happen there.
Same issue happening with CupertinoPicker as well!
Update
Disabling the Impeller on iOS in app's Info.plist file fixes the error.
<key>FLTEnableImpeller</key>
<false />
But again this also produce this following warning !
[IMPORTANT:flutter/shell/common/shell.cc(456)] [Action Required] The application opted out of Impeller by either using the --no-enable-impeller flag or FLTEnableImpeller=false plist flag. This option is going to go away in an upcoming Flutter release. Remove the explicit opt-out. If you need to opt-out, report a bug describing the issue.
[IMPORTANT:flutter/shell/platform/darwin/graphics/FlutterDarwinContextMetalSkia.mm(71)] Using the Skia rendering backend (Metal).
Installing and launching... 63.0s
I wonder if this also happens with ListWheelScrollView
used by CupertinoPicker
as well.
It's a bug related to Impeller rendering since it works fine with Skia rendering. ListWheelScrollView
could cause this as it only gets produced when scrolling the items slowly or randomly.
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 -v
and a minimal reproduction of the issue.
Steps to reproduce
Expected results
No errors
Actual results
Code sample
Sample Code
```dart import 'package:flutter/cupertino.dart'; /// Flutter code sample for [CupertinoDatePicker]. void main() => runApp(const DatePickerApp()); class DatePickerApp extends StatelessWidget { const DatePickerApp({super.key}); @override Widget build(BuildContext context) { return const CupertinoApp( theme: CupertinoThemeData(brightness: Brightness.light), home: DatePickerExample(), ); } } class DatePickerExample extends StatefulWidget { const DatePickerExample({super.key}); @override StateScreenshots or Video
No response
Logs
No response
Flutter Doctor output
Doctor output
```console Doctor summary (to see all details, run flutter doctor -v): [✓] Flutter (Channel master, 3.24.0-1.0.pre.570, on macOS 14.6.1 23G93 darwin-arm64, locale en) [✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0) [✓] Xcode - develop for iOS and macOS (Xcode 15.4) [✓] Chrome - develop for the web [✓] Android Studio (version 2023.3) [✓] VS Code (version 1.88.1) [✓] Connected device (4 available) [✓] Network resources ```