cleared console problems
This commit is contained in:
@@ -24,7 +24,7 @@ class TabletHomePage extends StatelessWidget {
|
||||
|
||||
appBar: tabletAppBar(title: HomeStrings.home, key: key),
|
||||
|
||||
drawer: TabletNavigationWidget(
|
||||
drawer: const TabletNavigationWidget(
|
||||
currentIndex: 0, // Home is index 0
|
||||
),
|
||||
body: Consumer<HomeViewModel>(
|
||||
@@ -83,7 +83,7 @@ class TabletHomePage extends StatelessWidget {
|
||||
Widget _progressBarsRow(HomeViewModel homeViewModel) {
|
||||
return Row(
|
||||
children: [
|
||||
Spacer(),
|
||||
const Spacer(),
|
||||
SizedBox(width: 20.0.w()),
|
||||
ProgressBarColumn(
|
||||
text: HomeStrings.partnership,
|
||||
@@ -93,7 +93,7 @@ class TabletHomePage extends StatelessWidget {
|
||||
circularProgressIndicatorHeight: 176.0,
|
||||
strokeWidth: 8.0,
|
||||
),
|
||||
Spacer(),
|
||||
const Spacer(),
|
||||
ProgressBarColumn(
|
||||
text: HomeStrings.selfApply,
|
||||
value: homeViewModel.selfApplyPercent,
|
||||
@@ -103,7 +103,7 @@ class TabletHomePage extends StatelessWidget {
|
||||
strokeWidth: 8.0,
|
||||
),
|
||||
SizedBox(width: 20.0.w()),
|
||||
Spacer(),
|
||||
const Spacer(),
|
||||
],
|
||||
);
|
||||
}
|
||||
@@ -128,11 +128,11 @@ class TabletHomePage extends StatelessWidget {
|
||||
width: double.infinity,
|
||||
height: 148,
|
||||
onTap: () {
|
||||
YourTendersRouteData().push(context);
|
||||
const YourTendersRouteData().push(context);
|
||||
},
|
||||
),
|
||||
),
|
||||
SizedBox(width: 16.0),
|
||||
const SizedBox(width: 16.0),
|
||||
Expanded(
|
||||
child: TenderCard(
|
||||
backgroundColor: AppColors.primary10,
|
||||
@@ -145,7 +145,7 @@ class TabletHomePage extends StatelessWidget {
|
||||
width: double.infinity,
|
||||
height: 148,
|
||||
onTap: () {
|
||||
YourTendersRouteData().push(context);
|
||||
const YourTendersRouteData().push(context);
|
||||
},
|
||||
),
|
||||
),
|
||||
@@ -174,7 +174,7 @@ class TabletHomePage extends StatelessWidget {
|
||||
onTap: () {},
|
||||
),
|
||||
),
|
||||
SizedBox(width: 16.0),
|
||||
const SizedBox(width: 16.0),
|
||||
Expanded(
|
||||
child: TenderCard(
|
||||
backgroundColor: AppColors.grey10,
|
||||
@@ -186,7 +186,7 @@ class TabletHomePage extends StatelessWidget {
|
||||
width: double.infinity,
|
||||
height: 148,
|
||||
onTap: () {
|
||||
LikedTendersRouteData().push(context);
|
||||
const LikedTendersRouteData().push(context);
|
||||
},
|
||||
),
|
||||
),
|
||||
@@ -234,7 +234,7 @@ class TabletHomePage extends StatelessWidget {
|
||||
if (index < homeViewModel.tenders.length) {
|
||||
return TendersListItem(tender: homeViewModel.tenders[index]);
|
||||
} else {
|
||||
return Center(
|
||||
return const Center(
|
||||
child: Padding(
|
||||
padding: EdgeInsets.all(16.0),
|
||||
child: CircularProgressIndicator(
|
||||
|
||||
Reference in New Issue
Block a user