import 'package:flutter/material.dart'; import 'package:flutter_map/flutter_map.dart'; import 'package:latlong2/latlong.dart'; class IntaleqMapWidget extends StatelessWidget { @override Widget build(BuildContext context) { return FlutterMap( options: MapOptions( initialCenter: LatLng(33.5138, 36.2765), // Damascus / دمشق initialZoom: 13.0, ), children: [ TileLayer( // هذا هو الرابط الذي يجلب الخريطة من السيرفر الخاص بك! urlTemplate: 'https://app.intaleqapp.com/martin/planet_osm_line/{z}/{x}/{y}.pbf', userAgentPackageName: 'com.intaleq.app', subdomains: const ['a', 'b', 'c'], ), ], ); } } // ───────────────────────────────────────────────────────── // Helper Class for API Interaction (Intelligence API) // ───────────────────────────────────────────────────────── class IntaleqApiService { static const String baseUrl = 'https://app.intaleqapp.com/api'; static const String apiKey = 'intaleq_secret_2026'; Future triggerDailyIntelligence() async { // مثال لطلب معالجة البيانات من داخل تطبيق فلاتر (اختياري) print('Triggering 3 AM process manually...'); } }