Use relative imports for files in lib
When use relative and absolute imports together then It is possible to create confusion when the same class gets imported from two different ways. To avoid this case we should use a relative path in the lib/ folder.
Do
import '../../../utils/dialog_utils.dart';
Don't
import 'package:demo/src/utils/dialog_utils.dart';