feat: Add example text to the attire capture page and remove explicit background color from the scaffold.

This commit is contained in:
Achintha Isuru
2026-02-24 16:23:25 -05:00
parent 9bc4778cc1
commit cb180af7cf

View File

@@ -55,7 +55,6 @@ class _AttireCapturePageState extends State<AttireCapturePage> {
); );
return Scaffold( return Scaffold(
backgroundColor: UiColors.background,
appBar: UiAppBar(title: widget.item.label, showBackButton: true), appBar: UiAppBar(title: widget.item.label, showBackButton: true),
body: BlocConsumer<AttireCaptureCubit, AttireCaptureState>( body: BlocConsumer<AttireCaptureCubit, AttireCaptureState>(
bloc: cubit, bloc: cubit,
@@ -91,6 +90,11 @@ class _AttireCapturePageState extends State<AttireCapturePage> {
AttireImagePreview(imageUrl: widget.item.imageUrl), AttireImagePreview(imageUrl: widget.item.imageUrl),
const SizedBox(height: UiConstants.space6), const SizedBox(height: UiConstants.space6),
Text(
'Example of the item that you need to upload.',
style: UiTypography.body1b.textSecondary,
textAlign: TextAlign.center,
),
Text( Text(
widget.item.description ?? '', widget.item.description ?? '',
style: UiTypography.body1r.textSecondary, style: UiTypography.body1r.textSecondary,