Ask Your Question
3

What does the error message "Dart library 'dart:ui' is not available on this platform" in Flutter mean?

asked 2021-09-10 11:00:00 +0000

woof gravatar image

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
3

answered 2021-08-21 12:00:00 +0000

qstack gravatar image

The error message "Dart library 'dart:ui' is not available on this platform" in Flutter means that the Flutter app is trying to import 'dart:ui', which is the library responsible for rendering and painting. However, this library is not available on the current platform. This error may occur if the target platform of the app is not compatible with the 'dart:ui' library, or if the Flutter SDK is not installed correctly.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss

Add Answer


Question Tools

Stats

Asked: 2021-09-10 11:00:00 +0000

Seen: 18 times

Last updated: Aug 21 '21