Unknown error compiling custom code after image_picker became unavailable (free plan, no culprit specified)

Custom Code

Hi FlutterFlow Community,

I am seeking help regarding a persistent platform-level custom code compilation error that cannot be cleared despite removing the affected packages and code.

[Environment]

Plan: Free Plan

Target Platforms: Web, iOS, Android

[Issue Description]

The Project Issues panel constantly shows a single error:Custom Widget: Unknown error compiling custom code. A common cause is a custom widget or action whose name in the code does not match the name provided in the editor.

The Issues panel does not specify which file or widget is causing this error.

Clicking the error does not navigate to any specific line or component.

[Trigger / Background]

This issue started after image_picker (and file_picker) became unavailable within custom code. Following this, the entire project began failing compilation. Since this is a Free Plan, adding/removing packages from pub.dev via Pubspec Dependencies is not supported, and image_picker is not listed under Project Dependencies.

[Request]

Could this be an issue where residual internal build cache or hidden dependencies to image_picker/file_picker remain stuck in the project state?

Any advice on how to clear this broken compiler state or identify hidden build cache errors would be greatly appreciated.

Thank you for your support!

What have you tried so far?

Removed all image_picker / file_picker dependencies from all custom code (rewrote logic to URL-based passing).

Verified exact naming and parameter matching (types, Nullable, Is List) between the editor UI and Dart constructors.

Toggled typedef definitions across custom widgets.

Set custom action uploadImagesToSupabase to "Exclude from compilation" -> The exact same 1 error remained.

Duplicated the project -> The duplicated project exhibits the identical single error.

Setting custom widget ImageViewerWidget to "Exclude from compilation" cleared the error to 0 (though this breaks 10 referencing WorkView widgets). The code in ImageViewerWidget is a standard StatefulWidget using SupaFlow.client and Image.network with no syntax errors.

Did you check FlutterFlow's Documentation for this topic?
No
2
4 replies