added your tenders screen

This commit is contained in:
amirrezaghabeli
2025-08-05 19:18:47 +03:30
parent 9f6c458e15
commit 21d13ac072
24 changed files with 682 additions and 63 deletions
+7 -3
View File
@@ -1,4 +1,5 @@
import 'package:flutter/material.dart';
import 'package:tm_app/core/routes/app_routes.dart';
import '../../../core/constants/strings.dart';
import '../../core/constants/colors.dart';
@@ -10,6 +11,7 @@ class HomeScreen extends StatelessWidget {
@override
Widget build(BuildContext context) {
SizeConfig.init(context);
return SafeArea(
child: Scaffold(
backgroundColor: Colors.white,
@@ -36,7 +38,7 @@ class HomeScreen extends StatelessWidget {
// SizedBox(height: 32.0.h()),
_progressBarsRow(),
SizedBox(height: 32.0.h()),
_firstStatisticsRow(),
_firstStatisticsRow(context),
SizedBox(height: 8.0.h()),
_secondStatisticsRow(),
SizedBox(height: 32.0.h()),
@@ -104,7 +106,7 @@ class HomeScreen extends StatelessWidget {
);
}
Widget _firstStatisticsRow() {
Widget _firstStatisticsRow(BuildContext context) {
return Row(
mainAxisAlignment: MainAxisAlignment.spaceBetween,
children: [
@@ -124,7 +126,9 @@ class HomeScreen extends StatelessWidget {
amount: '03',
textColor: Color(0xFF24848E),
enableTap: true,
onTap: () {},
onTap: () {
YourTendersRouteData().push(context);
},
),
],
);