fix: show close button for cake pay filters popup (#2773)
malik1004x committed
Dec 29, 2025 at 19:29 UTC
f13b1ad8a0a972767dca62415e24f88fe55171d3
1 file changed
+5
-9
lib/src/screens/dashboard/widgets/filter_widget.dart
+5
-9
@@ -34,14 +34,11 @@ class _FilterWidgetState extends State<FilterWidget> {
34
child: Column(
35
children: [
36
const Expanded(child: SizedBox()),
37
- Expanded(
38
- flex: responsiveLayoutUtil.shouldRenderTabletUI ? 16 : 8,
39
- child: LayoutBuilder(
40
- builder: (context, constraints) {
41
- double availableHeight = constraints.maxHeight;
42
- return _buildFilterContent(context, availableHeight);
43
- },
44
- ),
37
+ LayoutBuilder(
38
+ builder: (context, constraints) {
39
+ double availableHeight = constraints.maxHeight;
40
+ return _buildFilterContent(context, availableHeight);
41
+ },
42
),
43
Expanded(
44
child: AlertCloseButton(
@@ -50,7 +47,6 @@ class _FilterWidgetState extends State<FilterWidget> {
47
onTap: widget.onClose,
48
),
49
),
53
- const SizedBox(height: 24),
50
],
51
),
52
);