fix: address analysis issues - remove unused import, fix deprecated APIs, update test

This commit is contained in:
fiatcode 2026-04-30 11:40:56 +07:00
parent 85249acc84
commit 07bae466cf
No known key found for this signature in database
32 changed files with 1550 additions and 75 deletions

13
test/widget_test.dart Normal file
View file

@ -0,0 +1,13 @@
import 'package:flutter_test/flutter_test.dart';
import 'package:traccar_client/main.dart';
void main() {
testWidgets('TraccarClientApp smoke test', (WidgetTester tester) async {
// Build our app and trigger a frame.
await tester.pumpWidget(const TraccarClientApp());
// Verify the app title is displayed
expect(find.text('Traccar Client'), findsOneWidget);
});
}