Here is the image of the error:
What is the solution to this error? I tried to write here the ‘Row" function but the emulator is not opening the application.
Here is the image of the error:
What is the solution to this error? I tried to write here the ‘Row" function but the emulator is not opening the application.
2
Answers
Scene class is coming from dart:ui library.
After importing this library, you’ll see another error msg. Such as
The argument type 'Scene' can't be assigned to the parameter type 'Widget?'
.Because you’re trying to pass
Scene
as awidget
based on your SS code. Actually it’s anobject
(ig). Follow the official documentation to use this.Actually you are importing Scene from 2 librairies: android-small-7.dart and 8. If you need both imports, use an alias. Otherwise remove one of the librairies.