This commit is contained in:
2026-03-27 11:00:02 +03:00
parent 139abad52f
commit ebefa5a1bf
2 changed files with 2 additions and 35 deletions
@@ -35,7 +35,7 @@ class _FullScreenBlurOverlayState extends State<FullScreenBlurOverlay> {
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<FullScreenBlurOverlay> {
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<FullScreenBlurOverlay> {
),
),
),
),
),
),
),
-30
View File
@@ -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);
});
}