Update: 2026-07-11 19:04:58

This commit is contained in:
Hamza-Ayed
2026-07-11 19:04:59 +03:00
parent 06dc0aaffe
commit cb9aefc591
@@ -78,8 +78,8 @@ List<CarType> _carTypesForCountry(String country) {
return keys.map((k) => _carTypeCatalog[k]!).toList();
}
List<CarType> carTypes = _carTypesForCountry(
box.read(BoxName.countryCode) ?? 'Jordan');
List<CarType> carTypes =
_carTypesForCountry(box.read(BoxName.countryCode) ?? 'Jordan');
// ─────────────────────────────────────────────────────────────────────────────
// MAIN WIDGET
@@ -160,8 +160,8 @@ class CarDetailsTypeToChoose extends StatelessWidget {
final carType = carTypes[index];
final isSelected = controller.selectedIndex == index;
return Padding(
padding: EdgeInsets.only(
right: index < carTypes.length - 1 ? 8 : 0),
padding: EdgeInsetsDirectional.only(
end: index < carTypes.length - 1 ? 8 : 0),
child: _buildCarCard(
context, controller, carType, isSelected, index),
);
@@ -1009,8 +1009,8 @@ class _NegativeBalanceBanner extends StatelessWidget {
@override
Widget build(BuildContext context) {
return Container(
margin: const EdgeInsets.symmetric(
horizontal: AppSpacing.lg, vertical: 3),
margin:
const EdgeInsets.symmetric(horizontal: AppSpacing.lg, vertical: 3),
padding: const EdgeInsets.symmetric(
horizontal: AppSpacing.md, vertical: AppSpacing.sm),
decoration: BoxDecoration(