feat: refactor financial wallet UI components and add offline map service support

This commit is contained in:
Hamza-Ayed
2026-04-21 00:35:30 +03:00
parent 4293d20561
commit b92db3bb39
99 changed files with 22888 additions and 27387 deletions

View File

@@ -14,12 +14,4 @@ import 'package:trip_overlay_plugin/trip_overlay_plugin.dart';
void main() {
IntegrationTestWidgetsFlutterBinding.ensureInitialized();
testWidgets('getPlatformVersion test', (WidgetTester tester) async {
final TripOverlayPlugin plugin = TripOverlayPlugin();
final String? version = await plugin.getPlatformVersion();
// The version string depends on the host platform running the test, so
// just assert that some non-empty string is returned.
expect(version?.isNotEmpty, true);
});
}

View File

@@ -19,11 +19,5 @@ void main() {
expect(initialPlatform, isInstanceOf<MethodChannelTripOverlayPlugin>());
});
test('getPlatformVersion', () async {
TripOverlayPlugin tripOverlayPlugin = TripOverlayPlugin();
MockTripOverlayPluginPlatform fakePlatform = MockTripOverlayPluginPlatform();
TripOverlayPluginPlatform.instance = fakePlatform;
expect(await tripOverlayPlugin.getPlatformVersion(), '42');
});
}