You're seeing this because you've successfully setup Firebase Hosting. Now it's time to go build something extraordinary!
46 | Open Hosting Documentation 47 |Firebase SDK Loading…
49 | 50 | 88 | 89 | 90 | -------------------------------------------------------------------------------- /src/bus_tracking_system/pubspec.yaml: -------------------------------------------------------------------------------- 1 | name: bus_tracking_system 2 | description: A new Flutter project. 3 | # The following line prevents the package from being accidentally published to 4 | # pub.dev using `flutter pub publish`. This is preferred for private packages. 5 | publish_to: 'none' # Remove this line if you wish to publish to pub.dev 6 | 7 | # The following defines the version and build number for your application. 8 | # A version number is three numbers separated by dots, like 1.2.43 9 | # followed by an optional build number separated by a +. 10 | # Both the version and the builder number may be overridden in flutter 11 | # build by specifying --build-name and --build-number, respectively. 12 | # In Android, build-name is used as versionName while build-number used as versionCode. 13 | # Read more about Android versioning at https://developer.android.com/studio/publish/versioning 14 | # In iOS, build-name is used as CFBundleShortVersionString while build-number is used as CFBundleVersion. 15 | # Read more about iOS versioning at 16 | # https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html 17 | # In Windows, build-name is used as the major, minor, and patch parts 18 | # of the product and file versions while build-number is used as the build suffix. 19 | version: 1.0.0+1 20 | 21 | environment: 22 | sdk: '>=2.19.5 <3.0.0' 23 | 24 | # Dependencies specify other packages that your package needs in order to work. 25 | # To automatically upgrade your package dependencies to the latest versions 26 | # consider running `flutter pub upgrade --major-versions`. Alternatively, 27 | # dependencies can be manually updated by changing the version numbers below to 28 | # the latest version available on pub.dev. To see which dependencies have newer 29 | # versions available, run `flutter pub outdated`. 30 | dependencies: 31 | flutter: 32 | sdk: flutter 33 | # ui: ^0.0.1 34 | 35 | 36 | # The following adds the Cupertino Icons font to your application. 37 | # Use with the CupertinoIcons class for iOS style icons. 38 | cupertino_icons: ^1.0.2 39 | firebase_database: ^10.2.2 40 | #adding auth and firebase core 41 | firebase_core: ^2.13.1 42 | firebase_auth: ^4.6.2 43 | cloud_firestore: ^4.5.2 44 | shared_preferences: ^2.0.17 45 | flutter_map: ^5.0.0 46 | geolocator: ^9.0.2 47 | latlong2: ^0.9.0 48 | http: ^1.0.0 49 | app_settings: ^4.2.0 50 | flutter_local_notifications: ^14.0.0 51 | 52 | dev_dependencies: 53 | flutter_test: 54 | sdk: flutter 55 | 56 | # The "flutter_lints" package below contains a set of recommended lints to 57 | # encourage good coding practices. The lint set provided by the package is 58 | # activated in the `analysis_options.yaml` file located at the root of your 59 | # package. See that file for information about deactivating specific lint 60 | # rules and activating additional ones. 61 | flutter_lints: ^2.0.0 62 | 63 | # For information on the generic Dart part of this file, see the 64 | # following page: https://dart.dev/tools/pub/pubspec 65 | 66 | # The following section is specific to Flutter packages. 67 | flutter: 68 | 69 | # The following line ensures that the Material Icons font is 70 | # included with your application, so that you can use the icons in 71 | # the material Icons class. 72 | uses-material-design: true 73 | 74 | # To add assets to your application, add an assets section, like this: 75 | assets: 76 | - assets/images/ 77 | 78 | # An image asset can refer to one or more resolution-specific "variants", see 79 | # https://flutter.dev/assets-and-images/#resolution-aware 80 | 81 | # For details regarding adding assets from package dependencies, see 82 | # https://flutter.dev/assets-and-images/#from-packages 83 | 84 | # To add custom fonts to your application, add a fonts section here, 85 | # in this "flutter" section. Each entry in this list should have a 86 | # "family" key with the font family name, and a "fonts" key with a 87 | # list giving the asset and other descriptors for the font. For 88 | # example: 89 | # fonts: 90 | # - family: Schyler 91 | # fonts: 92 | # - asset: fonts/Schyler-Regular.ttf 93 | # - asset: fonts/Schyler-Italic.ttf 94 | # style: italic 95 | # - family: Trajan Pro 96 | # fonts: 97 | # - asset: fonts/TrajanPro.ttf 98 | # - asset: fonts/TrajanPro_Bold.ttf 99 | # weight: 700 100 | # 101 | # For details regarding fonts from package dependencies, 102 | # see https://flutter.dev/custom-fonts/#from-packages 103 | -------------------------------------------------------------------------------- /src/bus_tracking_system/test/widget_test.dart: -------------------------------------------------------------------------------- 1 | // This is a basic Flutter widget test. 2 | // 3 | // To perform an interaction with a widget in your test, use the WidgetTester 4 | // utility in the flutter_test package. For example, you can send tap and scroll 5 | // gestures. You can also use WidgetTester to find child widgets in the widget 6 | // tree, read text, and verify that the values of widget properties are correct. 7 | 8 | import 'package:flutter/material.dart'; 9 | import 'package:flutter_test/flutter_test.dart'; 10 | 11 | import 'package:bus_tracking_system/main.dart'; 12 | 13 | void main() { 14 | testWidgets('Counter increments smoke test', (WidgetTester tester) async { 15 | // Build our app and trigger a frame. 16 | await tester.pumpWidget(MyApp()); 17 | 18 | // Verify that our counter starts at 0. 19 | expect(find.text('0'), findsOneWidget); 20 | expect(find.text('1'), findsNothing); 21 | 22 | // Tap the '+' icon and trigger a frame. 23 | await tester.tap(find.byIcon(Icons.add)); 24 | await tester.pump(); 25 | 26 | // Verify that our counter has incremented. 27 | expect(find.text('0'), findsNothing); 28 | expect(find.text('1'), findsOneWidget); 29 | }); 30 | } 31 | -------------------------------------------------------------------------------- /src/bus_tracking_system/web/favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/upes-open/Bus-Tracking-system/f58d8228cccbba735eb90d145bdff12b2bff9937/src/bus_tracking_system/web/favicon.png -------------------------------------------------------------------------------- /src/bus_tracking_system/web/icons/Icon-192.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/upes-open/Bus-Tracking-system/f58d8228cccbba735eb90d145bdff12b2bff9937/src/bus_tracking_system/web/icons/Icon-192.png -------------------------------------------------------------------------------- /src/bus_tracking_system/web/icons/Icon-512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/upes-open/Bus-Tracking-system/f58d8228cccbba735eb90d145bdff12b2bff9937/src/bus_tracking_system/web/icons/Icon-512.png -------------------------------------------------------------------------------- /src/bus_tracking_system/web/icons/Icon-maskable-192.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/upes-open/Bus-Tracking-system/f58d8228cccbba735eb90d145bdff12b2bff9937/src/bus_tracking_system/web/icons/Icon-maskable-192.png -------------------------------------------------------------------------------- /src/bus_tracking_system/web/icons/Icon-maskable-512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/upes-open/Bus-Tracking-system/f58d8228cccbba735eb90d145bdff12b2bff9937/src/bus_tracking_system/web/icons/Icon-maskable-512.png -------------------------------------------------------------------------------- /src/bus_tracking_system/web/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 17 |