omarhurani / flutter_painter

A Flutter widget to draw scribbles and text on a background image or color 🎨
MIT License
139 stars 107 forks source link

Flutter 3.10.0 error Text object disappear #63

Open farmerswalker opened 1 year ago

farmerswalker commented 1 year ago

https://github.com/omarhurani/flutter_painter/assets/78805687/77bbb66b-3495-4fc8-8187-599a776bc622

kundanlal5555 commented 1 year ago

I was faced same issue in IOS 16.x with Flutter 3.10.x.

Solution: Downgrade flutter version to 3.7.10 (Use flutter version 3.7.10). work fine in IOS 16.x

UttamPanchasara commented 1 year ago

Any possible solution for this issue? Except downgrading the flutter version?

alistair-riskmemo commented 1 year ago

I have this issue and would like to avoid downgrading, I've also tried downgrading with fvm and still have the issue.

synapticvoid commented 1 year ago

The problem seems to be linked to the new Flutter rendering engine, Impeller, which is now enabled by default on iOS.

Disabling it seems to fix the issue:

flutter run --no-enable-impeller

You can also disable it when deploying your app, in your app's Info.plist:

 <key>FLTEnableImpeller</key>
  <false />
alistair-riskmemo commented 6 months ago

Is there going to be a permanent fix for this? At some point the option to opt out of impeller is going to be removed:

[IMPORTANT:flutter/shell/common/shell.cc(454)] [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.