From ebefa5a1bf7461d2a6561bdf558ce6df97a62c1c Mon Sep 17 00:00:00 2001 From: kolo Date: Fri, 27 Mar 2026 11:00:02 +0300 Subject: [PATCH] update --- .../widgets/color_editor_overlay.dart | 7 ++--- test/widget_test.dart | 30 ------------------- 2 files changed, 2 insertions(+), 35 deletions(-) delete mode 100644 test/widget_test.dart diff --git a/lib/features/dashboard/widgets/color_editor_overlay.dart b/lib/features/dashboard/widgets/color_editor_overlay.dart index 7566043..0484a3e 100644 --- a/lib/features/dashboard/widgets/color_editor_overlay.dart +++ b/lib/features/dashboard/widgets/color_editor_overlay.dart @@ -35,7 +35,7 @@ class _FullScreenBlurOverlayState extends State { Widget build(BuildContext context) { final mq = MediaQuery.of(widget.context); final cardTop = mq.padding.top + kToolbarHeight + 16; - const cardHeight = 220.0; + const cardHeight = 230.0; final panelTop = cardTop + cardHeight + 65; const panelHeight = 410.0; @@ -65,9 +65,7 @@ class _FullScreenBlurOverlayState extends State { widthFactor: 0.92, child: SizedBox( height: cardHeight, - child: Align( - alignment: Alignment.topCenter, - child: Padding( + child: Padding( padding: const EdgeInsets.symmetric(horizontal: 8), child: Consumer( builder: (ctx, ref, _) => BalanceCard( @@ -84,7 +82,6 @@ class _FullScreenBlurOverlayState extends State { ), ), ), - ), ), ), ), diff --git a/test/widget_test.dart b/test/widget_test.dart deleted file mode 100644 index cb3348a..0000000 --- a/test/widget_test.dart +++ /dev/null @@ -1,30 +0,0 @@ -// This is a basic Flutter widget test. -// -// To perform an interaction with a widget in your test, use the WidgetTester -// utility in the flutter_test package. For example, you can send tap and scroll -// gestures. You can also use WidgetTester to find child widgets in the widget -// tree, read text, and verify that the values of widget properties are correct. - -import 'package:flutter/material.dart'; -import 'package:flutter_test/flutter_test.dart'; - -import 'package:casha/main.dart'; - -void main() { - testWidgets('Counter increments smoke test', (WidgetTester tester) async { - // Build our app and trigger a frame. - await tester.pumpWidget(const MyApp()); - - // Verify that our counter starts at 0. - expect(find.text('0'), findsOneWidget); - expect(find.text('1'), findsNothing); - - // Tap the '+' icon and trigger a frame. - await tester.tap(find.byIcon(Icons.add)); - await tester.pump(); - - // Verify that our counter has incremented. - expect(find.text('0'), findsNothing); - expect(find.text('1'), findsOneWidget); - }); -}