FlutterIconPicker icon indicating copy to clipboard operation
FlutterIconPicker copied to clipboard

Flutterflow build error

Open leobewater opened this issue 10 months ago • 0 comments

Hi,

Thank you so much for creating this package.

I'm using FlutterFlow and implemented the package into my app. It works great on all the testing devices but when I build the apk, it's showing this error. I'm using v3.2.4 since the latest version has a package conflict with FlutterFlow. Any ideas why it's showing this error? Much appreciated your help!

This application cannot tree shake icons fonts. It has non-constant instances of IconData at the following locations:

  • file:///Users/[user]/.pub-cache/hosted/pub.dev/flutter_iconpicker-3.2.4/lib/Serialization/iconDataSerialization.dart:76:16 Target aot_android_asset_bundle failed: Error: Avoid non-constant invocations of IconData or try to build again with --no-tree-shake-icons.

leobewater avatar Apr 18 '24 21:04 leobewater