Home > database >  'Size' is imported from both 'dart:ffi' and 'dart:ui' Flutter 3
'Size' is imported from both 'dart:ffi' and 'dart:ui' Flutter 3

Time:05-16

After upgrading my flutter from 2.10.5 to 3.0.0, I have those errors on my android studio and the project don't build anymore on windows 10. How can I solve this problems. Thanks

'Size' is imported from both 'dart:ffi' and 'dart:ui'.

enter image description here

CodePudding user response:

bitsdojo_window package seems to have issues when Flutter 3 was introduced. One of possible ways is to run this command on your terminal

dart fix --apply

and

flutter pub upgrade 

CodePudding user response:

This happens because of Flutter 3.0. This package needs to get updated for Flutter 3.0 check This Link for the answer it requires an update which the developer said he's working on it

  • Related