fix marker rendering & modernize riding widgets for dark mode - 2026-04-11

This commit is contained in:
Hamza-Ayed
2026-04-11 01:14:09 +03:00
parent 3f03f25142
commit 454276d1e0
88 changed files with 50376 additions and 23310 deletions

View File

@@ -1,6 +1,8 @@
import 'dart:io';
import 'package:flutter/services.dart';
import '../print.dart';
/// خدمة التحكم بوضع النافذة العائمة (Picture-in-Picture) على أندرويد.
/// تُستدعى عند بدء الرحلة لتفعيل PiP تلقائياً عند خروج المستخدم من التطبيق.
class PipService {
@@ -23,7 +25,7 @@ class PipService {
try {
await _channel.invokeMethod('enablePip');
} catch (e) {
print('PiP enable error: \$e');
Log.print('PiP enable error: \$e');
}
}
@@ -33,7 +35,7 @@ class PipService {
try {
await _channel.invokeMethod('disablePip');
} catch (e) {
print('PiP disable error: \$e');
Log.print('PiP disable error: \$e');
}
}
@@ -44,7 +46,7 @@ class PipService {
final result = await _channel.invokeMethod<bool>('enterPip');
return result ?? false;
} catch (e) {
print('PiP enter error: \$e');
Log.print('PiP enter error: \$e');
return false;
}
}