auto_size_text icon indicating copy to clipboard operation
auto_size_text copied to clipboard

Breaking change with Flutter 3.24.x

Open mlb5000 opened this issue 1 year ago • 4 comments

When trying to use this package within some layouts in 3.24.x (as reported here: https://github.com/flutter/flutter/issues/153460), you end up with tons of rendering errors. Specifically within Chips.

Are there any plans to update this package to support newer Flutter versions?

  • Flutter version: [e.g. 3.24.3]
  • auto_size_text version: [e.g. 3.0.0]

mlb5000 avatar Sep 17 '24 16:09 mlb5000

I submitted a Pull Request for this here: https://github.com/simc/auto_size_text/pull/148

mlb5000 avatar Sep 19 '24 15:09 mlb5000

Facing same problems with Chips or Filter Chips in latest SDK

plchekspend avatar Nov 14 '24 10:11 plchekspend

Any update @simc @pdblasi-google ? This is required as of now

plchekspend avatar Nov 15 '24 07:11 plchekspend

I also encountered this problem, the crash error is as follows.

#00 0x00000000020a0010 /data/app/~~9BY4E2tkqyZXXZP8b7GMCQ==/com.idemo.demo-4GnC2rZC9zXHXnfHnnOWUQ==/base.apk!libflutter.so (BuildId: 231568c2bc519fbb1b96e1ed2e68a8abcdf9ee25) SkLRUCache<skia::textlayout::ParagraphCacheKey, std::_fl::unique_ptr<skia::textlayout::ParagraphCache::Entry, std::_fl::default_deleteskia::textlayout::ParagraphCache::Entry >, skia::textlayout::ParagraphCache::KeyHash, SkNoOpPurge>::remove(skia::textlayout::ParagraphCacheKey const&) out/ci/android_debug_arm64/../../../flutter/third_party/skia/src/core/SkLRUCache.h:112:24 #01 0x000000000209f964 /data/app/~~9BY4E2tkqyZXXZP8b7GMCQ==/com.idemo.demo-4GnC2rZC9zXHXnfHnnOWUQ==/base.apk!libflutter.so (BuildId: 231568c2bc519fbb1b96e1ed2e68a8abcdf9ee25) SkLRUCache<skia::textlayout::ParagraphCacheKey, std::_fl::unique_ptr<skia::textlayout::ParagraphCache::Entry, std::_fl::default_deleteskia::textlayout::ParagraphCache::Entry >, skia::textlayout::ParagraphCache::KeyHash, SkNoOpPurge>::insert(skia::textlayout::ParagraphCacheKey const&, std::_fl::unique_ptr<skia::textlayout::ParagraphCache::Entry, std::_fl::default_deleteskia::textlayout::ParagraphCache::Entry >) out/ci/android_debug_arm64/../../../flutter/third_party/skia/src/core/SkLRUCache.h:74:19

According to this prompt,I indeed found the issue in the auto_size_text component.

Tang0504 avatar May 16 '25 09:05 Tang0504