fixed designs and flow

This commit is contained in:
R-Bharathraj
2026-10-05 22:14:58 +05:30
parent d76d409416
commit aef0ac1793
21 changed files with 1594 additions and 423 deletions

View File

@@ -9,6 +9,7 @@ import '../core/theme.dart';
import '../models/shift.dart';
import '../state/shifts_controller.dart';
import '../widgets/common.dart';
import '../widgets/motion.dart';
import '../widgets/glass_segments.dart';
import '../widgets/krow_wordmark.dart';
import '../widgets/shift_card.dart';
@@ -165,7 +166,7 @@ class _BookedTab extends ConsumerWidget {
return ListView(
padding: const EdgeInsets.fromLTRB(20, 18, 20, 24),
children: [
children: Entrance.stagger([
WeekStrip(
days: week,
selected: selected,
@@ -193,10 +194,10 @@ class _BookedTab extends ConsumerWidget {
),
const SizedBox(height: 6),
const InfoBanner(
'Auto-Match only offers you shifts inside the availability blocks you '
'have switched on.',
'Auto-Match only offers you shifts on the days you have marked '
'yourself available.',
),
],
]),
);
}
}
@@ -242,7 +243,7 @@ class _OpenTab extends ConsumerWidget {
return ListView(
padding: const EdgeInsets.fromLTRB(20, 18, 20, 24),
children: [
children: Entrance.stagger([
TextField(
onChanged: onQuery,
decoration: const InputDecoration(
@@ -292,7 +293,7 @@ class _OpenTab extends ConsumerWidget {
trailingAction: _ApplyButton(shift: shift),
),
),
],
]),
);
}
}
@@ -360,7 +361,7 @@ class _HistoryTab extends ConsumerWidget {
return ListView(
padding: const EdgeInsets.fromLTRB(20, 18, 20, 24),
children: [
children: Entrance.stagger([
StatRail(
stats: [
('Completed', '$completed'),
@@ -385,7 +386,7 @@ class _HistoryTab extends ConsumerWidget {
onTap: () => context.push('/shift/${shift.id}'),
),
),
],
]),
);
}
}