Skip to content

Conversation

@mapacheverdugo
Copy link

I was having an error with the VoidCallback type.

The solution was to simply import the dart:ui library

Error: Type 'VoidCallback' not found.
../…/utils/downloader_utils.dart:23
final VoidCallback onDone;
^^^^^^^^^^^^
: Error: 'VoidCallback' isn't a type.
../…/utils/downloader_utils.dart:23
final VoidCallback onDone;
^^^^^^^^^^^^

@Livekus
Copy link

Livekus commented Dec 16, 2021

update pub.dev please

@Hzz-Hzz
Copy link

Hzz-Hzz commented Dec 21, 2021

This solution resolved my problem too.
In case someone misunderstands the solution above, I import the dart:ui right inside the library's source code.

ivanphanderson pushed a commit to ivanphanderson/bizzvest-mobile that referenced this pull request Jul 7, 2023
Flowder 0.2.0 mungkin ada sedikit error (VoidCallback). Cara mengatasinya:
Crdzbird/flowder#10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants