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