feat: Add example text to the attire capture page and remove explicit background color from the scaffold.
This commit is contained in:
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user