diff --git a/lib/main.dart b/lib/main.dart index 284c60a..652136c 100644 --- a/lib/main.dart +++ b/lib/main.dart @@ -199,6 +199,7 @@ class StationList extends StatelessWidget { final ValueChanged onTapped; StationList({ + super.key, required this.stationList, required this.onTapped, }); @@ -298,6 +299,7 @@ class DepartureList extends StatelessWidget { final ValueChanged onTapped; const DepartureList({ + super.key, required this.departureList, required this.onTapped, }); @@ -421,6 +423,7 @@ class ArrivalList extends StatelessWidget { final Function onTapped; const ArrivalList({ + super.key, required this.departure, required this.arrivalList, required this.onTapped, @@ -439,4 +442,4 @@ class ArrivalList extends StatelessWidget { ], ); } -} \ No newline at end of file +} diff --git a/lib/transport_helper.dart b/lib/transport_helper.dart index 8428f35..38e7ab3 100644 --- a/lib/transport_helper.dart +++ b/lib/transport_helper.dart @@ -2,7 +2,6 @@ import 'package:sqflite/sqflite.dart'; // import './state_helper.dart'; // import './db_helper.dart'; - class DbHelper { static late Database db; static String dbName = ""; @@ -1103,4 +1102,4 @@ enum VehicleType { subway, regionalTrain, PLACEHOLDER, -} \ No newline at end of file +}