fixed dark mood in filter dialog

fixed TendersCard height
This commit is contained in:
llsajjad
2025-09-06 10:17:12 +03:30
parent 142c53f7aa
commit 0d9f0251d8
2 changed files with 5 additions and 4 deletions
@@ -1,4 +1,5 @@
import 'package:flutter/material.dart'; import 'package:flutter/material.dart';
import 'package:tm_app/core/theme/colors.dart';
import 'package:tm_app/views/your_tenders/strings/your_tenders_strings.dart'; import 'package:tm_app/views/your_tenders/strings/your_tenders_strings.dart';
import 'tenders_filter_dialog.dart'; import 'tenders_filter_dialog.dart';
@@ -14,7 +15,7 @@ class FilterButton extends StatelessWidget {
showModalBottomSheet( showModalBottomSheet(
context: context, context: context,
isScrollControlled: true, isScrollControlled: true,
backgroundColor: Colors.white, backgroundColor: AppColors.backgroundColor,
shape: const RoundedRectangleBorder( shape: const RoundedRectangleBorder(
borderRadius: BorderRadius.vertical(top: Radius.circular(20)), borderRadius: BorderRadius.vertical(top: Radius.circular(20)),
), ),
@@ -25,7 +26,7 @@ class FilterButton extends StatelessWidget {
context: context, context: context,
builder: builder:
(_) => Dialog( (_) => Dialog(
backgroundColor: Colors.white, backgroundColor: AppColors.backgroundColor,
shape: RoundedRectangleBorder( shape: RoundedRectangleBorder(
borderRadius: BorderRadius.circular(16), borderRadius: BorderRadius.circular(16),
), ),
@@ -42,6 +42,7 @@ class TenderCard extends StatelessWidget {
@override @override
Widget build(BuildContext context) { Widget build(BuildContext context) {
return Container( return Container(
height: 260.0.h(),
width: double.infinity, width: double.infinity,
margin: EdgeInsets.only( margin: EdgeInsets.only(
left: 24.0.w(), left: 24.0.w(),
@@ -133,8 +134,7 @@ class TenderCard extends StatelessWidget {
maxLines: 3, maxLines: 3,
overflow: TextOverflow.ellipsis, overflow: TextOverflow.ellipsis,
), ),
SizedBox(height: 24.0.h()), Spacer(),
// Bottom section with location and action button // Bottom section with location and action button
Row( Row(
mainAxisAlignment: MainAxisAlignment.spaceBetween, mainAxisAlignment: MainAxisAlignment.spaceBetween,