feat: Add placeholder for unimplemented features in Get Started, Home, and Profile modules
feat: Add placeholder for Rapid Order success view and comment out Rapid action card
This commit is contained in:
@@ -23,6 +23,19 @@ class RapidOrderView extends StatelessWidget {
|
||||
|
||||
return BlocBuilder<RapidOrderBloc, RapidOrderState>(
|
||||
builder: (BuildContext context, RapidOrderState state) {
|
||||
/// TODO: FEATURE_NOT_YET_IMPLEMENTED
|
||||
return Scaffold(
|
||||
appBar: UiAppBar(
|
||||
title: labels.title,
|
||||
showBackButton: true,
|
||||
onLeadingPressed: () => Modular.to.pop(),
|
||||
),
|
||||
body: const SizedBox(
|
||||
child: Center(
|
||||
child: Text('Rapid Order Success View Not Yet Implemented'),
|
||||
),
|
||||
),
|
||||
);
|
||||
if (state is RapidOrderSuccess) {
|
||||
return RapidOrderSuccessView(
|
||||
title: labels.success_title,
|
||||
|
||||
@@ -24,20 +24,20 @@ class ActionsWidget extends StatelessWidget {
|
||||
|
||||
return Row(
|
||||
children: <Widget>[
|
||||
Expanded(
|
||||
child: _ActionCard(
|
||||
title: i18n.rapid,
|
||||
subtitle: i18n.rapid_subtitle,
|
||||
icon: UiIcons.zap,
|
||||
color: const Color(0xFFFEF2F2),
|
||||
borderColor: const Color(0xFFFECACA),
|
||||
iconBgColor: const Color(0xFFFEE2E2),
|
||||
iconColor: const Color(0xFFDC2626),
|
||||
textColor: const Color(0xFF7F1D1D),
|
||||
subtitleColor: const Color(0xFFB91C1C),
|
||||
onTap: onRapidPressed,
|
||||
),
|
||||
),
|
||||
// Expanded(
|
||||
// child: _ActionCard(
|
||||
// title: i18n.rapid,
|
||||
// subtitle: i18n.rapid_subtitle,
|
||||
// icon: UiIcons.zap,
|
||||
// color: const Color(0xFFFEF2F2),
|
||||
// borderColor: const Color(0xFFFECACA),
|
||||
// iconBgColor: const Color(0xFFFEE2E2),
|
||||
// iconColor: const Color(0xFFDC2626),
|
||||
// textColor: const Color(0xFF7F1D1D),
|
||||
// subtitleColor: const Color(0xFFB91C1C),
|
||||
// onTap: onRapidPressed,
|
||||
// ),
|
||||
// ),
|
||||
const SizedBox(width: UiConstants.space2),
|
||||
Expanded(
|
||||
child: _ActionCard(
|
||||
|
||||
Reference in New Issue
Block a user