Answers for "flutter Error: Member not found: 'packageRoot'. ../…/interface/local_platform.dart:46"

0

flutter Error: Member not found: 'packageRoot'. ../…/interface/local_platform.dart:46

flutter pub upgrade
If this still doesn't work then it means you are having this issue from transitive dependencies on platform (platform with version lower than 3.1.0 has this problem). So, override the platform package in your pubspec.yaml file like this:

dependency_overrides:
  platform: ^3.1.0
Posted by: Guest on February-28-2022

Code answers related to "flutter Error: Member not found: 'packageRoot'. ../…/interface/local_platform.dart:46"

Code answers related to "Dart"

Browse Popular Code Answers by Language