feat: enhance UI, branding assets, onboarding flow, and screen layouts

This commit is contained in:
R-Bharathraj
2026-09-18 15:23:30 +05:30
parent cafffd27e0
commit 5122eebc11
68 changed files with 1661 additions and 470 deletions

View File

@@ -152,8 +152,15 @@ class ShiftDetailScreen extends ConsumerWidget {
],
),
),
const SectionLabel('Requirements'),
_Requirements(shift: shift),
SectionLabel(
'Requirements',
trailing: TextButton(
onPressed: () =>
context.push('/shift/${shift.id}/requirements'),
child: const Text('See all'),
),
),
ShiftRequirements(shift: shift),
const SizedBox(height: 18),
_Actions(shift: shift),
],
@@ -166,8 +173,9 @@ class ShiftDetailScreen extends ConsumerWidget {
}
/// What this business asks for, checked against what is already on file.
class _Requirements extends ConsumerWidget {
const _Requirements({required this.shift});
/// Shown inline on the shift, and on its own screen from the link above it.
class ShiftRequirements extends ConsumerWidget {
const ShiftRequirements({super.key, required this.shift});
final Shift shift;