Yeah, relative path can be tricky.

Note, I don’t think they’re required by I enclose my path in single quotes:

path: ‘../../libs/dbutils.dart’ (Have you got the file name right?)

Also, you’ve got ..lib/

I’m thinking that should be ../lib/

Further, it’s relative to the current location that is the directory containing that very file, pubspec.yaml. You have to deduce carefully how many ‘parent folders’ (i.e. double dots: .. ) you’re going to need and such.

Good luck.

Freelance Developer

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store