From a46d7e8c46e77d50489d7297ae918fd21ba54a13 Mon Sep 17 00:00:00 2001 From: Isaac Obella Date: Wed, 28 Sep 2022 20:27:06 +0300 Subject: [PATCH] coverage: Add part of fix. --- lib/presentation/core/routes/app_page.dart | 2 +- lib/presentation/core/routes/app_page.ext.dart | 2 +- lib/presentation/home/home_screen.dart | 4 ++-- lib/presentation/home/widgets/home_nav.dart | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/presentation/core/routes/app_page.dart b/lib/presentation/core/routes/app_page.dart index a1bceeb4..5ffaac74 100644 --- a/lib/presentation/core/routes/app_page.dart +++ b/lib/presentation/core/routes/app_page.dart @@ -1,4 +1,4 @@ -part 'app_page.ext.dart'; +part 'package:collaction_app/presentation/core/routes/app_page.ext.dart'; enum AppPage { mainPage, diff --git a/lib/presentation/core/routes/app_page.ext.dart b/lib/presentation/core/routes/app_page.ext.dart index e0c07ab0..71ceda9a 100644 --- a/lib/presentation/core/routes/app_page.ext.dart +++ b/lib/presentation/core/routes/app_page.ext.dart @@ -1,4 +1,4 @@ -part of 'app_page.dart'; +part of 'package:collaction_app/presentation/core/routes/app_page.dart'; extension AppPageExt on AppPage { // Route paths diff --git a/lib/presentation/home/home_screen.dart b/lib/presentation/home/home_screen.dart index 8dff6263..dcaf2e29 100644 --- a/lib/presentation/home/home_screen.dart +++ b/lib/presentation/home/home_screen.dart @@ -3,10 +3,10 @@ import 'package:flutter/foundation.dart'; import 'package:flutter/material.dart'; import 'package:go_router/go_router.dart'; -import '../../../presentation/themes/constants.dart'; import '../core/collaction_icons.dart'; +import '../themes/constants.dart'; -part 'widgets/home_nav.dart'; +part 'package:collaction_app/presentation/home/widgets/home_nav.dart'; class HomePage extends StatelessWidget { // Current display page diff --git a/lib/presentation/home/widgets/home_nav.dart b/lib/presentation/home/widgets/home_nav.dart index a9a1b4c0..fea7f013 100644 --- a/lib/presentation/home/widgets/home_nav.dart +++ b/lib/presentation/home/widgets/home_nav.dart @@ -1,4 +1,4 @@ -part of '../home_screen.dart'; +part of 'package:collaction_app/presentation/home/home_screen.dart'; /// Home page navigation bar Widget bottomNavbar(BuildContext context) {