feat: enhance UI, branding assets, onboarding flow, and screen layouts
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user