43 lines
1.4 KiB
Dart
43 lines
1.4 KiB
Dart
import 'package:flutter/material.dart';
|
|
import 'package:tm_app/core/constants/strings.dart';
|
|
import 'package:tm_app/views/detail/widgets/deadline_item.dart';
|
|
import 'package:tm_app/views/detail/widgets/info_item.dart';
|
|
|
|
class TenderDetailInfoSection extends StatelessWidget {
|
|
final bool isBig;
|
|
|
|
const TenderDetailInfoSection({required this.isBig ,super.key});
|
|
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
return Column(
|
|
crossAxisAlignment: CrossAxisAlignment.start,
|
|
children: [
|
|
InfoItem(
|
|
title: AppStrings.tenderIdLabel,
|
|
value: AppStrings.tenderIdExample,
|
|
),
|
|
DeadlineItem(
|
|
title: AppStrings.tenderDeadlineLabel,
|
|
approvalText: AppStrings.tenderApprovalText,
|
|
approvalDate: AppStrings.tenderApprovalDateExample,
|
|
submissionText: AppStrings.tenderSubmissionText,
|
|
submissionDate: AppStrings.tenderSubmissionDateExample, isBig: isBig,
|
|
),
|
|
InfoItem(
|
|
title: AppStrings.tenderClientLabel,
|
|
value: AppStrings.tenderClientExample,
|
|
),
|
|
InfoItem(
|
|
title: AppStrings.tenderDeliveryLocationsLabel,
|
|
value: AppStrings.tenderDeliveryLocationExample,
|
|
),
|
|
InfoItem(
|
|
title: AppStrings.tenderReferenceNumberLabel,
|
|
value: AppStrings.tenderReferenceNumberExample,
|
|
),
|
|
],
|
|
);
|
|
}
|
|
}
|