Update: 2026-07-02 05:27:04
This commit is contained in:
@@ -16,6 +16,7 @@ import '../../../constant/info.dart';
|
||||
import '../../../controller/functions/tts.dart';
|
||||
import '../../../controller/home/map/ride_lifecycle_controller.dart';
|
||||
import '../../widgets/mydialoug.dart';
|
||||
import '../../widgets/competitor_price_badge.dart';
|
||||
|
||||
// ─────────────────────────────────────────────────────────────────────────────
|
||||
// CAR TYPE MODEL
|
||||
@@ -156,6 +157,17 @@ class CarDetailsTypeToChoose extends StatelessWidget {
|
||||
),
|
||||
),
|
||||
|
||||
// ── Competitor Price Savings Badge ─────────────────────
|
||||
if (controller.savingsLabel != null &&
|
||||
controller.savingsLabel!.isNotEmpty)
|
||||
Padding(
|
||||
padding: const EdgeInsets.symmetric(horizontal: 20, vertical: 4),
|
||||
child: CompetitorPriceBadge(
|
||||
badgeText: controller.savingsLabel,
|
||||
savingsPercent: controller.savingsPercent ?? 0.0,
|
||||
),
|
||||
),
|
||||
|
||||
// ── Promo Code & Actions ─────────────────────────────
|
||||
_buildPromoButton(context, controller),
|
||||
|
||||
|
||||
Reference in New Issue
Block a user