fixed dark mood in filter dialog
fixed TendersCard height
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
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 'tenders_filter_dialog.dart';
|
||||
@@ -14,7 +15,7 @@ class FilterButton extends StatelessWidget {
|
||||
showModalBottomSheet(
|
||||
context: context,
|
||||
isScrollControlled: true,
|
||||
backgroundColor: Colors.white,
|
||||
backgroundColor: AppColors.backgroundColor,
|
||||
shape: const RoundedRectangleBorder(
|
||||
borderRadius: BorderRadius.vertical(top: Radius.circular(20)),
|
||||
),
|
||||
@@ -25,7 +26,7 @@ class FilterButton extends StatelessWidget {
|
||||
context: context,
|
||||
builder:
|
||||
(_) => Dialog(
|
||||
backgroundColor: Colors.white,
|
||||
backgroundColor: AppColors.backgroundColor,
|
||||
shape: RoundedRectangleBorder(
|
||||
borderRadius: BorderRadius.circular(16),
|
||||
),
|
||||
|
||||
@@ -42,6 +42,7 @@ class TenderCard extends StatelessWidget {
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return Container(
|
||||
height: 260.0.h(),
|
||||
width: double.infinity,
|
||||
margin: EdgeInsets.only(
|
||||
left: 24.0.w(),
|
||||
@@ -133,8 +134,7 @@ class TenderCard extends StatelessWidget {
|
||||
maxLines: 3,
|
||||
overflow: TextOverflow.ellipsis,
|
||||
),
|
||||
SizedBox(height: 24.0.h()),
|
||||
|
||||
Spacer(),
|
||||
// Bottom section with location and action button
|
||||
Row(
|
||||
mainAxisAlignment: MainAxisAlignment.spaceBetween,
|
||||
|
||||
Reference in New Issue
Block a user