25-7-26-1

This commit is contained in:
Hamza-Ayed
2025-07-26 10:30:10 +03:00
parent 83fa8c776c
commit 3742d5b417
645 changed files with 134317 additions and 0 deletions

18
lib/homw_widget.dart Normal file
View File

@@ -0,0 +1,18 @@
import 'package:flutter/services.dart';
class WidgetManager {
static const platform = MethodChannel('com.mobileapp.store.ride/widget');
static Future<void> updateWidget() async {
try {
await platform.invokeMethod('updateWidget');
} on PlatformException catch (e) {
print("Failed to update widget: '${e.message}'.");
}
}
}
// Example usage:
void updateHomeScreenWidget() {
WidgetManager.updateWidget();
}