diff --git a/lib/widgets/FloatingNavBar.dart b/lib/widgets/FloatingNavBar.dart index 90f36f1..3e3d339 100644 --- a/lib/widgets/FloatingNavBar.dart +++ b/lib/widgets/FloatingNavBar.dart @@ -26,16 +26,11 @@ class Floatingnavbar extends StatelessWidget { final bottomPadding = MediaQuery.of(context).padding.bottom; return ClipRRect( + borderRadius: BorderRadius.circular(45), - - child: BackdropFilter( - - filter: ImageFilter.blur( - sigmaX: 100, - sigmaY: 35, - - ), + child: Container( + color: Colors.transparent, child: Container( height: 70, margin: EdgeInsets.only( @@ -52,17 +47,18 @@ class Floatingnavbar extends StatelessWidget { child: Row( mainAxisAlignment: MainAxisAlignment.spaceEvenly, - children: items.asMap().entries.map((entry) { - final index = entry.key; - final item = entry.value; - final isSelected = selectedIndex == index; + children: + items.asMap().entries.map((entry) { + final index = entry.key; + final item = entry.value; + final isSelected = selectedIndex == index; - return _NavBarItemTile( - item: item, - isSelected: isSelected, - onTap: () => onTap(index), - ); - }).toList(), + return _NavBarItemTile( + item: item, + isSelected: isSelected, + onTap: () => onTap(index), + ); + }).toList(), ), ), ), diff --git a/lib/widgets/gradient_line.dart b/lib/widgets/gradient_line.dart index 3aaa489..08509bd 100644 --- a/lib/widgets/gradient_line.dart +++ b/lib/widgets/gradient_line.dart @@ -4,22 +4,14 @@ class GradientLine extends StatelessWidget { final Color start; final Color end; - const GradientLine({ - super.key, - required this.start, - required this.end, - }); + const GradientLine({super.key, required this.start, required this.end}); @override Widget build(BuildContext context) { return Container( height: 2, - margin: const EdgeInsets.symmetric(horizontal: 5), - decoration: BoxDecoration( - gradient: LinearGradient( - colors: [start, end], - ), - ), + + decoration: BoxDecoration(gradient: LinearGradient(colors: [start, end])), ); } } diff --git a/lib/widgets/work_day_card.dart b/lib/widgets/work_day_card.dart index 7d0d9f1..0527065 100644 --- a/lib/widgets/work_day_card.dart +++ b/lib/widgets/work_day_card.dart @@ -35,6 +35,7 @@ class WorkDayCard extends StatelessWidget { /// 🔥 FIXED: CENTERED LINES BETWEEN CIRCLES Row( + crossAxisAlignment: CrossAxisAlignment.center, children: [ _StatusItem( color: const Color(0xFFD16400), @@ -125,7 +126,11 @@ class _StatusItem extends StatelessWidget { children: [ StatusCircle(color: color, icon: icon), // const SizedBox(height: 3), - Text(label, textAlign: TextAlign.center, style: const TextStyle(fontSize: 12)), + Text( + label, + textAlign: TextAlign.center, + style: const TextStyle(fontSize: 12), + ), ], ); } diff --git a/test/widget_test.dart b/test/widget_test.dart deleted file mode 100644 index afa9c8b..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:coda_project/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); - }); -}