Update codebase
This commit is contained in:
@@ -14,7 +14,8 @@ 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 =>
|
||||
@@ -25,8 +26,7 @@ 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,9 +108,7 @@ 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),
|
||||
));
|
||||
|
||||
// تتبع الكاميرا للباص
|
||||
@@ -442,8 +440,10 @@ 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,
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user