إضافة الهوية الجديدة Tripz

This commit is contained in:
Hamza-Ayed
2026-07-29 02:31:04 +03:00
parent ecbe245b77
commit b9a97effe5
634 changed files with 5149 additions and 5294 deletions
@@ -14,8 +14,7 @@ import '../widgets/elevated_btn.dart';
// ── ألوان الصفحة ──────────────────────────────────────────────────────────────
Color get _bg =>
Get.isDarkMode ? const Color(0xFF0A0F1E) : const Color(0xFFF0F4FF);
Color get _card =>
Get.isDarkMode ? const Color(0xFF151C2E) : Colors.white;
Color get _card => Get.isDarkMode ? const Color(0xFF151C2E) : Colors.white;
Color get _text =>
Get.isDarkMode ? const Color(0xFFEEF2FF) : const Color(0xFF1E293B);
Color get _sub =>
@@ -26,7 +25,8 @@ class TransitMapPage extends StatefulWidget {
final int routeId;
final String routeName;
const TransitMapPage({super.key, required this.routeId, required this.routeName});
const TransitMapPage(
{super.key, required this.routeId, required this.routeName});
@override
State<TransitMapPage> createState() => _TransitMapPageState();
@@ -108,7 +108,9 @@ class _TransitMapPageState extends State<TransitMapPage> {
anchor: const Offset(0.5, 0.5),
flat: true,
zIndex: 3,
icon: _busIconLoaded ? _busIcon : InlqBitmap.defaultMarkerWithHue(120),
icon: _busIconLoaded
? _busIcon
: InlqBitmap.defaultMarkerWithHue(120),
));
// تتبع الكاميرا للباص
@@ -440,10 +442,8 @@ class _InfoCard extends StatelessWidget {
size: 13, color: Colors.greenAccent.shade400),
const SizedBox(width: 3),
Text(
currentStopName ??
'${'Stop'.tr} $currentStopSeq',
style:
TextStyle(fontSize: 12, color: _sub),
currentStopName ?? '${'Stop'.tr} $currentStopSeq',
style: TextStyle(fontSize: 12, color: _sub),
maxLines: 1,
overflow: TextOverflow.ellipsis,
),