Merge pull request #2 from Always-Bijoy/develop

upgrade flutter
This commit is contained in:
Bijoy Ghosh
2024-04-05 11:41:05 +06:00
committed by GitHub
14 changed files with 327 additions and 264 deletions

View File

@@ -1,31 +1,32 @@
# This is a generated file; do not edit or check into version control. # This is a generated file; do not edit or check into version control.
camera=/Users/bijoy/.pub-cache/hosted/pub.dev/camera-0.10.5+2/ camera=C:\\Users\\BJ\\AppData\\Local\\Pub\\Cache\\hosted\\pub.dev\\camera-0.10.5+9\\
camera_android=/Users/bijoy/.pub-cache/hosted/pub.dev/camera_android-0.10.8+3/ camera_android=C:\\Users\\BJ\\AppData\\Local\\Pub\\Cache\\hosted\\pub.dev\\camera_android-0.10.8+18\\
camera_avfoundation=/Users/bijoy/.pub-cache/hosted/pub.dev/camera_avfoundation-0.9.13+2/ camera_avfoundation=C:\\Users\\BJ\\AppData\\Local\\Pub\\Cache\\hosted\\pub.dev\\camera_avfoundation-0.9.14+2\\
camera_web=/Users/bijoy/.pub-cache/hosted/pub.dev/camera_web-0.3.1+4/ camera_web=C:\\Users\\BJ\\AppData\\Local\\Pub\\Cache\\hosted\\pub.dev\\camera_web-0.3.2+4\\
flutter_compass=/Users/bijoy/.pub-cache/hosted/pub.dev/flutter_compass-0.7.0/ flutter_compass=C:\\Users\\BJ\\AppData\\Local\\Pub\\Cache\\hosted\\pub.dev\\flutter_compass-0.8.0\\
flutter_plugin_android_lifecycle=/Users/bijoy/.pub-cache/hosted/pub.dev/flutter_plugin_android_lifecycle-2.0.15/ flutter_plugin_android_lifecycle=C:\\Users\\BJ\\AppData\\Local\\Pub\\Cache\\hosted\\pub.dev\\flutter_plugin_android_lifecycle-2.0.17\\
geocoding=/Users/bijoy/.pub-cache/hosted/pub.dev/geocoding-2.1.0/ geocoding=C:\\Users\\BJ\\AppData\\Local\\Pub\\Cache\\hosted\\pub.dev\\geocoding-3.0.0\\
geocoding_android=/Users/bijoy/.pub-cache/hosted/pub.dev/geocoding_android-2.1.0/ geocoding_android=C:\\Users\\BJ\\AppData\\Local\\Pub\\Cache\\hosted\\pub.dev\\geocoding_android-3.3.0\\
geocoding_ios=/Users/bijoy/.pub-cache/hosted/pub.dev/geocoding_ios-2.1.0/ geocoding_ios=C:\\Users\\BJ\\AppData\\Local\\Pub\\Cache\\hosted\\pub.dev\\geocoding_ios-3.0.1\\
geolocator=/Users/bijoy/.pub-cache/hosted/pub.dev/geolocator-9.0.2/ geolocator=C:\\Users\\BJ\\AppData\\Local\\Pub\\Cache\\hosted\\pub.dev\\geolocator-11.0.0\\
geolocator_android=/Users/bijoy/.pub-cache/hosted/pub.dev/geolocator_android-4.1.9/ geolocator_android=C:\\Users\\BJ\\AppData\\Local\\Pub\\Cache\\hosted\\pub.dev\\geolocator_android-4.5.4\\
geolocator_apple=/Users/bijoy/.pub-cache/hosted/pub.dev/geolocator_apple-2.2.7/ geolocator_apple=C:\\Users\\BJ\\AppData\\Local\\Pub\\Cache\\hosted\\pub.dev\\geolocator_apple-2.3.7\\
geolocator_web=/Users/bijoy/.pub-cache/hosted/pub.dev/geolocator_web-2.1.6/ geolocator_web=C:\\Users\\BJ\\AppData\\Local\\Pub\\Cache\\hosted\\pub.dev\\geolocator_web-3.0.0\\
geolocator_windows=/Users/bijoy/.pub-cache/hosted/pub.dev/geolocator_windows-0.1.1/ geolocator_windows=C:\\Users\\BJ\\AppData\\Local\\Pub\\Cache\\hosted\\pub.dev\\geolocator_windows-0.2.3\\
path_provider=/Users/bijoy/.pub-cache/hosted/pub.dev/path_provider-2.0.15/ path_provider=C:\\Users\\BJ\\AppData\\Local\\Pub\\Cache\\hosted\\pub.dev\\path_provider-2.1.2\\
path_provider_android=/Users/bijoy/.pub-cache/hosted/pub.dev/path_provider_android-2.0.27/ path_provider_android=C:\\Users\\BJ\\AppData\\Local\\Pub\\Cache\\hosted\\pub.dev\\path_provider_android-2.2.2\\
path_provider_foundation=/Users/bijoy/.pub-cache/hosted/pub.dev/path_provider_foundation-2.2.3/ path_provider_foundation=C:\\Users\\BJ\\AppData\\Local\\Pub\\Cache\\hosted\\pub.dev\\path_provider_foundation-2.3.2\\
path_provider_linux=/Users/bijoy/.pub-cache/hosted/pub.dev/path_provider_linux-2.1.11/ path_provider_linux=C:\\Users\\BJ\\AppData\\Local\\Pub\\Cache\\hosted\\pub.dev\\path_provider_linux-2.2.1\\
path_provider_windows=/Users/bijoy/.pub-cache/hosted/pub.dev/path_provider_windows-2.1.7/ path_provider_windows=C:\\Users\\BJ\\AppData\\Local\\Pub\\Cache\\hosted\\pub.dev\\path_provider_windows-2.2.1\\
permission_handler=/Users/bijoy/.pub-cache/hosted/pub.dev/permission_handler-10.4.1/ permission_handler=C:\\Users\\BJ\\AppData\\Local\\Pub\\Cache\\hosted\\pub.dev\\permission_handler-11.3.1\\
permission_handler_android=/Users/bijoy/.pub-cache/hosted/pub.dev/permission_handler_android-10.3.0/ permission_handler_android=C:\\Users\\BJ\\AppData\\Local\\Pub\\Cache\\hosted\\pub.dev\\permission_handler_android-12.0.5\\
permission_handler_apple=/Users/bijoy/.pub-cache/hosted/pub.dev/permission_handler_apple-9.1.2/ permission_handler_apple=C:\\Users\\BJ\\AppData\\Local\\Pub\\Cache\\hosted\\pub.dev\\permission_handler_apple-9.4.4\\
permission_handler_windows=/Users/bijoy/.pub-cache/hosted/pub.dev/permission_handler_windows-0.1.3/ permission_handler_html=C:\\Users\\BJ\\AppData\\Local\\Pub\\Cache\\hosted\\pub.dev\\permission_handler_html-0.1.1\\
url_launcher=/Users/bijoy/.pub-cache/hosted/pub.dev/url_launcher-6.1.11/ permission_handler_windows=C:\\Users\\BJ\\AppData\\Local\\Pub\\Cache\\hosted\\pub.dev\\permission_handler_windows-0.2.1\\
url_launcher_android=/Users/bijoy/.pub-cache/hosted/pub.dev/url_launcher_android-6.0.36/ url_launcher=C:\\Users\\BJ\\AppData\\Local\\Pub\\Cache\\hosted\\pub.dev\\url_launcher-6.2.5\\
url_launcher_ios=/Users/bijoy/.pub-cache/hosted/pub.dev/url_launcher_ios-6.1.4/ url_launcher_android=C:\\Users\\BJ\\AppData\\Local\\Pub\\Cache\\hosted\\pub.dev\\url_launcher_android-6.3.0\\
url_launcher_linux=/Users/bijoy/.pub-cache/hosted/pub.dev/url_launcher_linux-3.0.5/ url_launcher_ios=C:\\Users\\BJ\\AppData\\Local\\Pub\\Cache\\hosted\\pub.dev\\url_launcher_ios-6.2.5\\
url_launcher_macos=/Users/bijoy/.pub-cache/hosted/pub.dev/url_launcher_macos-3.0.5/ url_launcher_linux=C:\\Users\\BJ\\AppData\\Local\\Pub\\Cache\\hosted\\pub.dev\\url_launcher_linux-3.1.1\\
url_launcher_web=/Users/bijoy/.pub-cache/hosted/pub.dev/url_launcher_web-2.0.17/ url_launcher_macos=C:\\Users\\BJ\\AppData\\Local\\Pub\\Cache\\hosted\\pub.dev\\url_launcher_macos-3.1.0\\
url_launcher_windows=/Users/bijoy/.pub-cache/hosted/pub.dev/url_launcher_windows-3.0.6/ url_launcher_web=C:\\Users\\BJ\\AppData\\Local\\Pub\\Cache\\hosted\\pub.dev\\url_launcher_web-2.3.0\\
url_launcher_windows=C:\\Users\\BJ\\AppData\\Local\\Pub\\Cache\\hosted\\pub.dev\\url_launcher_windows-3.1.1\\

File diff suppressed because one or more lines are too long

View File

@@ -1,2 +1,2 @@
sdk.dir=/Users/bijoy/Library/Android/sdk sdk.dir=E:\\Sdk
flutter.sdk=/Users/bijoy/AndroidStudioProjects/flutter flutter.sdk=C:\\flutter

View File

@@ -1,12 +1,13 @@
import 'package:flutter/material.dart'; import 'package:flutter/material.dart';
import 'package:map_camera_flutter/map_camera_flutter.dart'; import 'package:map_camera_flutter/map_camera_flutter.dart';
void main() async { void main() async {
WidgetsFlutterBinding.ensureInitialized(); WidgetsFlutterBinding.ensureInitialized();
final cameras = await availableCameras(); final cameras = await availableCameras();
final firstCamera = cameras.first; final firstCamera = cameras.first;
runApp( MyApp(camera: firstCamera,)); runApp(MyApp(
camera: firstCamera,
));
} }
class MyApp extends StatelessWidget { class MyApp extends StatelessWidget {
@@ -22,7 +23,10 @@ class MyApp extends StatelessWidget {
colorScheme: ColorScheme.fromSeed(seedColor: Colors.deepPurple), colorScheme: ColorScheme.fromSeed(seedColor: Colors.deepPurple),
useMaterial3: true, useMaterial3: true,
), ),
home: MyHomePage(title: 'Camera With Map Location',camera: camera,), home: MyHomePage(
title: 'Camera With Map Location',
camera: camera,
),
); );
} }
} }
@@ -38,7 +42,6 @@ class MyHomePage extends StatefulWidget {
} }
class _MyHomePageState extends State<MyHomePage> { class _MyHomePageState extends State<MyHomePage> {
@override @override
void initState() { void initState() {
// TODO: implement initState // TODO: implement initState
@@ -50,16 +53,17 @@ class _MyHomePageState extends State<MyHomePage> {
return Scaffold( return Scaffold(
appBar: AppBar( appBar: AppBar(
backgroundColor: Theme.of(context).colorScheme.inversePrimary, backgroundColor: Theme.of(context).colorScheme.inversePrimary,
title: Text(widget.title), title: Text(widget.title),
), ),
body: MapCameraLocation(camera: widget.camera, onImageCaptured: (ImageAndLocationData data){ body: MapCameraLocation(
camera: widget.camera,
onImageCaptured: (ImageAndLocationData data) {
print('Captured image path: ${data.imagePath}'); print('Captured image path: ${data.imagePath}');
print('Latitude: ${data.latitude}'); print('Latitude: ${data.latitude}');
print('Longitude: ${data.longitude}'); print('Longitude: ${data.longitude}');
print('Location name: ${data.locationName}'); print('Location name: ${data.locationName}');
print('Sublocation: ${data.subLocation}'); print('Sublocation: ${data.subLocation}');
},) },
); ));
} }
} }

View File

@@ -21,42 +21,42 @@ packages:
dependency: transitive dependency: transitive
description: description:
name: camera name: camera
sha256: ebebead3d5ec3d148249331d751d462d7e8c98102b8830a9b45ec96a2bd4333f sha256: "9499cbc2e51d8eb0beadc158b288380037618ce4e30c9acbc4fae1ac3ecb5797"
url: "https://pub.dev" url: "https://pub.dev"
source: hosted source: hosted
version: "0.10.5+2" version: "0.10.5+9"
camera_android: camera_android:
dependency: transitive dependency: transitive
description: description:
name: camera_android name: camera_android
sha256: f43d07f9d7228ea1ca87d22e30881bd68da4b78484a1fbd1f1408b412a41cefb sha256: "1100e527b44a96906987a91ef78c8dacb539e34612a8058de89023380acf67f1"
url: "https://pub.dev" url: "https://pub.dev"
source: hosted source: hosted
version: "0.10.8+3" version: "0.10.8+18"
camera_avfoundation: camera_avfoundation:
dependency: transitive dependency: transitive
description: description:
name: camera_avfoundation name: camera_avfoundation
sha256: "1a416e452b30955b392f4efbf23291d3f2ba3660a85e1628859eb62d2a2bab26" sha256: "841682a28b99b8594532d2afe81e092a2c1edb2c93526f6f841a878dd57eec8d"
url: "https://pub.dev" url: "https://pub.dev"
source: hosted source: hosted
version: "0.9.13+2" version: "0.9.14+2"
camera_platform_interface: camera_platform_interface:
dependency: transitive dependency: transitive
description: description:
name: camera_platform_interface name: camera_platform_interface
sha256: "60fa0bb62a4f3bf3a7c413e31e4cd01b69c779ccc8e4668904a24581b86c316b" sha256: a250314a48ea337b35909a4c9d5416a208d736dcb01d0b02c6af122be66660b0
url: "https://pub.dev" url: "https://pub.dev"
source: hosted source: hosted
version: "2.5.1" version: "2.7.4"
camera_web: camera_web:
dependency: transitive dependency: transitive
description: description:
name: camera_web name: camera_web
sha256: bcbd775fb3a9d51cc3ece899d54ad66f6306410556bac5759f78e13f9228841f sha256: f18ccfb33b2a7c49a52ad5aa3f07330b7422faaecbdfd9b9fe8e51182f6ad67d
url: "https://pub.dev" url: "https://pub.dev"
source: hosted source: hosted
version: "0.3.1+4" version: "0.3.2+4"
characters: characters:
dependency: transitive dependency: transitive
description: description:
@@ -77,18 +77,18 @@ packages:
dependency: transitive dependency: transitive
description: description:
name: collection name: collection
sha256: "4a07be6cb69c84d677a6c3096fcf960cc3285a8330b4603e0d463d15d9bd934c" sha256: ee67cb0715911d28db6bf4af1026078bd6f0128b07a5f66fb2ed94ec6783c09a
url: "https://pub.dev" url: "https://pub.dev"
source: hosted source: hosted
version: "1.17.1" version: "1.18.0"
cross_file: cross_file:
dependency: transitive dependency: transitive
description: description:
name: cross_file name: cross_file
sha256: "0b0036e8cccbfbe0555fd83c1d31a6f30b77a96b598b35a5d36dd41f718695e9" sha256: "55d7b444feb71301ef6b8838dbc1ae02e63dd48c8773f3810ff53bb1e2945b32"
url: "https://pub.dev" url: "https://pub.dev"
source: hosted source: hosted
version: "0.3.3+4" version: "0.3.4+1"
crypto: crypto:
dependency: transitive dependency: transitive
description: description:
@@ -101,10 +101,10 @@ packages:
dependency: "direct main" dependency: "direct main"
description: description:
name: cupertino_icons name: cupertino_icons
sha256: e35129dc44c9118cee2a5603506d823bab99c68393879edb440e0090d07586be sha256: d57953e10f9f8327ce64a508a355f0b1ec902193f66288e8cb5070e7c47eeb2d
url: "https://pub.dev" url: "https://pub.dev"
source: hosted source: hosted
version: "1.0.5" version: "1.0.6"
fake_async: fake_async:
dependency: transitive dependency: transitive
description: description:
@@ -117,18 +117,18 @@ packages:
dependency: transitive dependency: transitive
description: description:
name: ffi name: ffi
sha256: ed5337a5660c506388a9f012be0288fb38b49020ce2b45fe1f8b8323fe429f99 sha256: "493f37e7df1804778ff3a53bd691d8692ddf69702cf4c1c1096a2e41b4779e21"
url: "https://pub.dev" url: "https://pub.dev"
source: hosted source: hosted
version: "2.0.2" version: "2.1.2"
file: fixnum:
dependency: transitive dependency: transitive
description: description:
name: file name: fixnum
sha256: "1b92bec4fc2a72f59a8e15af5f52cd441e4a7860b49499d69dfa817af20e925d" sha256: "25517a4deb0c03aa0f32fd12db525856438902d9c16536311e76cdc57b31d7d1"
url: "https://pub.dev" url: "https://pub.dev"
source: hosted source: hosted
version: "6.1.4" version: "1.1.0"
flutter: flutter:
dependency: "direct main" dependency: "direct main"
description: flutter description: flutter
@@ -138,42 +138,42 @@ packages:
dependency: transitive dependency: transitive
description: description:
name: flutter_compass name: flutter_compass
sha256: "1a0121bff32df95193812b4e0f69e95f45fdec042ebd7a326ba087c0f6ec8304" sha256: be642484f9f6975c1c6edff568281b001f2f1e604de27ecea18d97eebbdef22f
url: "https://pub.dev" url: "https://pub.dev"
source: hosted source: hosted
version: "0.7.0" version: "0.8.0"
flutter_lints: flutter_lints:
dependency: "direct dev" dependency: "direct dev"
description: description:
name: flutter_lints name: flutter_lints
sha256: "2118df84ef0c3ca93f96123a616ae8540879991b8b57af2f81b76a7ada49b2a4" sha256: "9e8c3858111da373efc5aa341de011d9bd23e2c5c5e0c62bccf32438e192d7b1"
url: "https://pub.dev" url: "https://pub.dev"
source: hosted source: hosted
version: "2.0.2" version: "3.0.2"
flutter_map: flutter_map:
dependency: transitive dependency: transitive
description: description:
name: flutter_map name: flutter_map
sha256: "5286f72f87deb132daa1489442d6cc46e986fc105cb727d9ae1b602b35b1d1f3" sha256: cda8d72135b697f519287258b5294a57ce2f2a5ebf234f0e406aad4dc14c9399
url: "https://pub.dev" url: "https://pub.dev"
source: hosted source: hosted
version: "5.0.0" version: "6.1.0"
flutter_map_location_marker: flutter_map_location_marker:
dependency: transitive dependency: transitive
description: description:
name: flutter_map_location_marker name: flutter_map_location_marker
sha256: "620cabeacfea2916de5d45d12f0e7ae7eb1f91d625919c5acf82aaff21595a96" sha256: "5873a47606b092bf181b6d17dd42a124e9a8d5d9caad58b5f98fc182e799994f"
url: "https://pub.dev" url: "https://pub.dev"
source: hosted source: hosted
version: "7.0.0" version: "8.0.8"
flutter_plugin_android_lifecycle: flutter_plugin_android_lifecycle:
dependency: transitive dependency: transitive
description: description:
name: flutter_plugin_android_lifecycle name: flutter_plugin_android_lifecycle
sha256: "950e77c2bbe1692bc0874fc7fb491b96a4dc340457f4ea1641443d0a6c1ea360" sha256: b068ffc46f82a55844acfa4fdbb61fad72fa2aef0905548419d97f0f95c456da
url: "https://pub.dev" url: "https://pub.dev"
source: hosted source: hosted
version: "2.0.15" version: "2.0.17"
flutter_test: flutter_test:
dependency: "direct dev" dependency: "direct dev"
description: flutter description: flutter
@@ -188,90 +188,90 @@ packages:
dependency: transitive dependency: transitive
description: description:
name: geocoding name: geocoding
sha256: b34c0501bbbaf3190b85bef3078b27cf66c28a8915c6d3af50d67f356aa7da31 sha256: d580c801cba9386b4fac5047c4c785a4e19554f46be42f4f5e5b7deacd088a66
url: "https://pub.dev" url: "https://pub.dev"
source: hosted source: hosted
version: "2.1.0" version: "3.0.0"
geocoding_android: geocoding_android:
dependency: transitive dependency: transitive
description: description:
name: geocoding_android name: geocoding_android
sha256: "5a1fc0cec9b0497b44ca31c1fa8d1c891f3aded1053e6bb2eac075d3bd1bf046" sha256: "4e1539a136c6ab4c44963cfc631970ee499f706a03654fc1d446b2100caf7221"
url: "https://pub.dev" url: "https://pub.dev"
source: hosted source: hosted
version: "2.1.0" version: "3.3.0"
geocoding_ios: geocoding_ios:
dependency: transitive dependency: transitive
description: description:
name: geocoding_ios name: geocoding_ios
sha256: c85495ce8fb34e4fbd2dd8fc5f79263d622d9f88c4af948c965daf6b27a7f3a1 sha256: "94ddba60387501bd1c11e18dca7c5a9e8c645d6e3da9c38b9762434941870c24"
url: "https://pub.dev" url: "https://pub.dev"
source: hosted source: hosted
version: "2.1.0" version: "3.0.1"
geocoding_platform_interface: geocoding_platform_interface:
dependency: transitive dependency: transitive
description: description:
name: geocoding_platform_interface name: geocoding_platform_interface
sha256: "8848605d307d844d89937cdb4b8ad7dfa880552078f310fa24d8a460f6dddab4" sha256: "8c2c8226e5c276594c2e18bfe88b19110ed770aeb7c1ab50ede570be8b92229b"
url: "https://pub.dev" url: "https://pub.dev"
source: hosted source: hosted
version: "2.0.1" version: "3.2.0"
geolocator: geolocator:
dependency: transitive dependency: transitive
description: description:
name: geolocator name: geolocator
sha256: "5c23f3613f50586c0bbb2b8f970240ae66b3bd992088cf60dd5ee2e6f7dde3a8" sha256: "694ec58afe97787b5b72b8a0ab78c1a9244811c3c10e72c4362ef3c0ceb005cd"
url: "https://pub.dev" url: "https://pub.dev"
source: hosted source: hosted
version: "9.0.2" version: "11.0.0"
geolocator_android: geolocator_android:
dependency: transitive dependency: transitive
description: description:
name: geolocator_android name: geolocator_android
sha256: "94c2cf51f4a8387335cc2d1a21cc50897bc93069e05fc09aee29bd353a14f6f5" sha256: f15d1536cd01b1399578f1da1eb5d566e7a718db6a3648f2c24d2e2f859f0692
url: "https://pub.dev" url: "https://pub.dev"
source: hosted source: hosted
version: "4.1.9" version: "4.5.4"
geolocator_apple: geolocator_apple:
dependency: transitive dependency: transitive
description: description:
name: geolocator_apple name: geolocator_apple
sha256: "36527c555f4c425f7d8fa8c7c07d67b78e3ff7590d40448051959e1860c1cfb4" sha256: bc2aca02423ad429cb0556121f56e60360a2b7d694c8570301d06ea0c00732fd
url: "https://pub.dev" url: "https://pub.dev"
source: hosted source: hosted
version: "2.2.7" version: "2.3.7"
geolocator_platform_interface: geolocator_platform_interface:
dependency: transitive dependency: transitive
description: description:
name: geolocator_platform_interface name: geolocator_platform_interface
sha256: af4d69231452f9620718588f41acc4cb58312368716bfff2e92e770b46ce6386 sha256: "009a21c4bc2761e58dccf07c24f219adaebe0ff707abdfd40b0a763d4003fab9"
url: "https://pub.dev" url: "https://pub.dev"
source: hosted source: hosted
version: "4.0.7" version: "4.2.2"
geolocator_web: geolocator_web:
dependency: transitive dependency: transitive
description: description:
name: geolocator_web name: geolocator_web
sha256: f68a122da48fcfff68bbc9846bb0b74ef651afe84a1b1f6ec20939de4d6860e1 sha256: "49d8f846ebeb5e2b6641fe477a7e97e5dd73f03cbfef3fd5c42177b7300fb0ed"
url: "https://pub.dev" url: "https://pub.dev"
source: hosted source: hosted
version: "2.1.6" version: "3.0.0"
geolocator_windows: geolocator_windows:
dependency: transitive dependency: transitive
description: description:
name: geolocator_windows name: geolocator_windows
sha256: f5911c88e23f48b598dd506c7c19eff0e001645bdc03bb6fecb9f4549208354d sha256: "53da08937d07c24b0d9952eb57a3b474e29aae2abf9dd717f7e1230995f13f0e"
url: "https://pub.dev" url: "https://pub.dev"
source: hosted source: hosted
version: "0.1.1" version: "0.2.3"
http: http:
dependency: transitive dependency: transitive
description: description:
name: http name: http
sha256: "759d1a329847dd0f39226c688d3e06a6b8679668e350e2891a6474f8b4bb8525" sha256: "761a297c042deedc1ffbb156d6e2af13886bb305c2a343a4d972504cd67dd938"
url: "https://pub.dev" url: "https://pub.dev"
source: hosted source: hosted
version: "1.1.0" version: "1.2.1"
http_parser: http_parser:
dependency: transitive dependency: transitive
description: description:
@@ -284,34 +284,50 @@ packages:
dependency: transitive dependency: transitive
description: description:
name: intl name: intl
sha256: "3bc132a9dbce73a7e4a21a17d06e1878839ffbf975568bc875c60537824b0c4d" sha256: d6f56758b7d3014a48af9701c085700aac781a92a87a62b1333b46d8879661cf
url: "https://pub.dev" url: "https://pub.dev"
source: hosted source: hosted
version: "0.18.1" version: "0.19.0"
js:
dependency: transitive
description:
name: js
sha256: f2c445dce49627136094980615a031419f7f3eb393237e4ecd97ac15dea343f3
url: "https://pub.dev"
source: hosted
version: "0.6.7"
latlong2: latlong2:
dependency: transitive dependency: transitive
description: description:
name: latlong2 name: latlong2
sha256: "18712164760cee655bc790122b0fd8f3d5b3c36da2cb7bf94b68a197fbb0811b" sha256: "98227922caf49e6056f91b6c56945ea1c7b166f28ffcd5fb8e72fc0b453cc8fe"
url: "https://pub.dev" url: "https://pub.dev"
source: hosted source: hosted
version: "0.9.0" version: "0.9.1"
leak_tracker:
dependency: transitive
description:
name: leak_tracker
sha256: "78eb209deea09858f5269f5a5b02be4049535f568c07b275096836f01ea323fa"
url: "https://pub.dev"
source: hosted
version: "10.0.0"
leak_tracker_flutter_testing:
dependency: transitive
description:
name: leak_tracker_flutter_testing
sha256: b46c5e37c19120a8a01918cfaf293547f47269f7cb4b0058f21531c2465d6ef0
url: "https://pub.dev"
source: hosted
version: "2.0.1"
leak_tracker_testing:
dependency: transitive
description:
name: leak_tracker_testing
sha256: a597f72a664dbd293f3bfc51f9ba69816f84dcd403cdac7066cb3f6003f3ab47
url: "https://pub.dev"
source: hosted
version: "2.0.1"
lints: lints:
dependency: transitive dependency: transitive
description: description:
name: lints name: lints
sha256: "0a217c6c989d21039f1498c3ed9f3ed71b354e69873f13a8dfc3c9fe76f1b452" sha256: cbf8d4b858bb0134ef3ef87841abdf8d63bfc255c266b7bf6b39daa1085c4290
url: "https://pub.dev" url: "https://pub.dev"
source: hosted source: hosted
version: "2.1.1" version: "3.0.0"
lists: lists:
dependency: transitive dependency: transitive
description: description:
@@ -320,37 +336,45 @@ packages:
url: "https://pub.dev" url: "https://pub.dev"
source: hosted source: hosted
version: "1.0.1" version: "1.0.1"
logger:
dependency: transitive
description:
name: logger
sha256: "8c94b8c219e7e50194efc8771cd0e9f10807d8d3e219af473d89b06cc2ee4e04"
url: "https://pub.dev"
source: hosted
version: "2.2.0"
map_camera_flutter: map_camera_flutter:
dependency: "direct dev" dependency: "direct dev"
description: description:
path: ".." path: ".."
relative: true relative: true
source: path source: path
version: "0.0.2" version: "0.0.4"
matcher: matcher:
dependency: transitive dependency: transitive
description: description:
name: matcher name: matcher
sha256: "6501fbd55da300384b768785b83e5ce66991266cec21af89ab9ae7f5ce1c4cbb" sha256: d2323aa2060500f906aa31a895b4030b6da3ebdcc5619d14ce1aada65cd161cb
url: "https://pub.dev" url: "https://pub.dev"
source: hosted source: hosted
version: "0.12.15" version: "0.12.16+1"
material_color_utilities: material_color_utilities:
dependency: transitive dependency: transitive
description: description:
name: material_color_utilities name: material_color_utilities
sha256: d92141dc6fe1dad30722f9aa826c7fbc896d021d792f80678280601aff8cf724 sha256: "0e0a020085b65b6083975e499759762399b4475f766c21668c4ecca34ea74e5a"
url: "https://pub.dev" url: "https://pub.dev"
source: hosted source: hosted
version: "0.2.0" version: "0.8.0"
meta: meta:
dependency: transitive dependency: transitive
description: description:
name: meta name: meta
sha256: "3c74dbf8763d36539f114c799d8a2d87343b5067e9d796ca22b5eb8437090ee3" sha256: d584fa6707a52763a52446f02cc621b077888fb63b93bbcb1143a7be5a0c0c04
url: "https://pub.dev" url: "https://pub.dev"
source: hosted source: hosted
version: "1.9.1" version: "1.11.0"
mgrs_dart: mgrs_dart:
dependency: transitive dependency: transitive
description: description:
@@ -363,114 +387,122 @@ packages:
dependency: transitive dependency: transitive
description: description:
name: path name: path
sha256: "8829d8a55c13fc0e37127c29fedf290c102f4e40ae94ada574091fe0ff96c917" sha256: "087ce49c3f0dc39180befefc60fdb4acd8f8620e5682fe2476afd0b3688bb4af"
url: "https://pub.dev" url: "https://pub.dev"
source: hosted source: hosted
version: "1.8.3" version: "1.9.0"
path_provider: path_provider:
dependency: transitive dependency: transitive
description: description:
name: path_provider name: path_provider
sha256: "3087813781ab814e4157b172f1a11c46be20179fcc9bea043e0fba36bc0acaa2" sha256: b27217933eeeba8ff24845c34003b003b2b22151de3c908d0e679e8fe1aa078b
url: "https://pub.dev" url: "https://pub.dev"
source: hosted source: hosted
version: "2.0.15" version: "2.1.2"
path_provider_android: path_provider_android:
dependency: transitive dependency: transitive
description: description:
name: path_provider_android name: path_provider_android
sha256: "2cec049d282c7f13c594b4a73976b0b4f2d7a1838a6dd5aaf7bd9719196bee86" sha256: "477184d672607c0a3bf68fbbf601805f92ef79c82b64b4d6eb318cbca4c48668"
url: "https://pub.dev" url: "https://pub.dev"
source: hosted source: hosted
version: "2.0.27" version: "2.2.2"
path_provider_foundation: path_provider_foundation:
dependency: transitive dependency: transitive
description: description:
name: path_provider_foundation name: path_provider_foundation
sha256: "1995d88ec2948dac43edf8fe58eb434d35d22a2940ecee1a9fefcd62beee6eb3" sha256: "5a7999be66e000916500be4f15a3633ebceb8302719b47b9cc49ce924125350f"
url: "https://pub.dev" url: "https://pub.dev"
source: hosted source: hosted
version: "2.2.3" version: "2.3.2"
path_provider_linux: path_provider_linux:
dependency: transitive dependency: transitive
description: description:
name: path_provider_linux name: path_provider_linux
sha256: ffbb8cc9ed2c9ec0e4b7a541e56fd79b138e8f47d2fb86815f15358a349b3b57 sha256: f7a1fe3a634fe7734c8d3f2766ad746ae2a2884abe22e241a8b301bf5cac3279
url: "https://pub.dev" url: "https://pub.dev"
source: hosted source: hosted
version: "2.1.11" version: "2.2.1"
path_provider_platform_interface: path_provider_platform_interface:
dependency: transitive dependency: transitive
description: description:
name: path_provider_platform_interface name: path_provider_platform_interface
sha256: "57585299a729335f1298b43245842678cb9f43a6310351b18fb577d6e33165ec" sha256: "88f5779f72ba699763fa3a3b06aa4bf6de76c8e5de842cf6f29e2e06476c2334"
url: "https://pub.dev" url: "https://pub.dev"
source: hosted source: hosted
version: "2.0.6" version: "2.1.2"
path_provider_windows: path_provider_windows:
dependency: transitive dependency: transitive
description: description:
name: path_provider_windows name: path_provider_windows
sha256: "1cb68ba4cd3a795033de62ba1b7b4564dace301f952de6bfb3cd91b202b6ee96" sha256: "8bc9f22eee8690981c22aa7fc602f5c85b497a6fb2ceb35ee5a5e5ed85ad8170"
url: "https://pub.dev" url: "https://pub.dev"
source: hosted source: hosted
version: "2.1.7" version: "2.2.1"
permission_handler: permission_handler:
dependency: "direct main" dependency: "direct main"
description: description:
name: permission_handler name: permission_handler
sha256: "37fcc3c3182ac0bf8856f3e973e11c7bef5556d69f1a0d8fb908f51019c2912d" sha256: "18bf33f7fefbd812f37e72091a15575e72d5318854877e0e4035a24ac1113ecb"
url: "https://pub.dev" url: "https://pub.dev"
source: hosted source: hosted
version: "10.4.1" version: "11.3.1"
permission_handler_android: permission_handler_android:
dependency: transitive dependency: transitive
description: description:
name: permission_handler_android name: permission_handler_android
sha256: "3b61f3da3b1c83bc3fb6a2b431e8dab01d0e5b45f6a3d9c7609770ec88b2a89e" sha256: "1acac6bae58144b442f11e66621c062aead9c99841093c38f5bcdcc24c1c3474"
url: "https://pub.dev" url: "https://pub.dev"
source: hosted source: hosted
version: "10.3.0" version: "12.0.5"
permission_handler_apple: permission_handler_apple:
dependency: transitive dependency: transitive
description: description:
name: permission_handler_apple name: permission_handler_apple
sha256: "0d1f8007b17573ff1fbeae0f04b6c8e83e1d2f6c4fe8e8226d4d2456aa8ecffe" sha256: e9ad66020b89ff1b63908f247c2c6f931c6e62699b756ef8b3c4569350cd8662
url: "https://pub.dev" url: "https://pub.dev"
source: hosted source: hosted
version: "9.1.2" version: "9.4.4"
permission_handler_html:
dependency: transitive
description:
name: permission_handler_html
sha256: "54bf176b90f6eddd4ece307e2c06cf977fb3973719c35a93b85cc7093eb6070d"
url: "https://pub.dev"
source: hosted
version: "0.1.1"
permission_handler_platform_interface: permission_handler_platform_interface:
dependency: transitive dependency: transitive
description: description:
name: permission_handler_platform_interface name: permission_handler_platform_interface
sha256: "79b36d93a41a4aecfd0d635d77552f327cb84227c718ce5e68b5f7b85546fe7e" sha256: "48d4fcf201a1dad93ee869ab0d4101d084f49136ec82a8a06ed9cfeacab9fd20"
url: "https://pub.dev" url: "https://pub.dev"
source: hosted source: hosted
version: "3.11.0+1" version: "4.2.1"
permission_handler_windows: permission_handler_windows:
dependency: transitive dependency: transitive
description: description:
name: permission_handler_windows name: permission_handler_windows
sha256: cc074aace208760f1eee6aa4fae766b45d947df85bc831cde77009cdb4720098 sha256: "1a790728016f79a41216d88672dbc5df30e686e811ad4e698bfc51f76ad91f1e"
url: "https://pub.dev" url: "https://pub.dev"
source: hosted source: hosted
version: "0.1.3" version: "0.2.1"
platform: platform:
dependency: transitive dependency: transitive
description: description:
name: platform name: platform
sha256: "4a451831508d7d6ca779f7ac6e212b4023dd5a7d08a27a63da33756410e32b76" sha256: "12220bb4b65720483f8fa9450b4332347737cf8213dd2840d8b2c823e47243ec"
url: "https://pub.dev" url: "https://pub.dev"
source: hosted source: hosted
version: "3.1.0" version: "3.1.4"
plugin_platform_interface: plugin_platform_interface:
dependency: transitive dependency: transitive
description: description:
name: plugin_platform_interface name: plugin_platform_interface
sha256: "6a2128648c854906c53fa8e33986fc0247a1116122f9534dd20e3ab9e16a32bc" sha256: "4820fbfdb9478b1ebae27888254d445073732dae3d6ea81f0b7e06d5dedc3f02"
url: "https://pub.dev" url: "https://pub.dev"
source: hosted source: hosted
version: "2.1.4" version: "2.1.8"
polylabel: polylabel:
dependency: transitive dependency: transitive
description: description:
@@ -479,14 +511,6 @@ packages:
url: "https://pub.dev" url: "https://pub.dev"
source: hosted source: hosted
version: "1.0.1" version: "1.0.1"
process:
dependency: transitive
description:
name: process
sha256: "53fd8db9cec1d37b0574e12f07520d582019cb6c44abf5479a01505099a34a09"
url: "https://pub.dev"
source: hosted
version: "4.2.4"
proj4dart: proj4dart:
dependency: transitive dependency: transitive
description: description:
@@ -495,14 +519,6 @@ packages:
url: "https://pub.dev" url: "https://pub.dev"
source: hosted source: hosted
version: "2.1.0" version: "2.1.0"
quiver:
dependency: transitive
description:
name: quiver
sha256: b1c1ac5ce6688d77f65f3375a9abb9319b3cb32486bdc7a1e0fdf004d7ba4e47
url: "https://pub.dev"
source: hosted
version: "3.2.1"
sky_engine: sky_engine:
dependency: transitive dependency: transitive
description: flutter description: flutter
@@ -512,26 +528,34 @@ packages:
dependency: transitive dependency: transitive
description: description:
name: source_span name: source_span
sha256: dd904f795d4b4f3b870833847c461801f6750a9fa8e61ea5ac53f9422b31f250 sha256: "53e943d4206a5e30df338fd4c6e7a077e02254531b138a15aec3bd143c1a8b3c"
url: "https://pub.dev" url: "https://pub.dev"
source: hosted source: hosted
version: "1.9.1" version: "1.10.0"
sprintf:
dependency: transitive
description:
name: sprintf
sha256: "1fc9ffe69d4df602376b52949af107d8f5703b77cda567c4d7d86a0693120f23"
url: "https://pub.dev"
source: hosted
version: "7.0.0"
stack_trace: stack_trace:
dependency: transitive dependency: transitive
description: description:
name: stack_trace name: stack_trace
sha256: c3c7d8edb15bee7f0f74debd4b9c5f3c2ea86766fe4178eb2a18eb30a0bdaed5 sha256: "73713990125a6d93122541237550ee3352a2d84baad52d375a4cad2eb9b7ce0b"
url: "https://pub.dev" url: "https://pub.dev"
source: hosted source: hosted
version: "1.11.0" version: "1.11.1"
stream_channel: stream_channel:
dependency: transitive dependency: transitive
description: description:
name: stream_channel name: stream_channel
sha256: "83615bee9045c1d322bbbd1ba209b7a749c2cbcdcb3fdd1df8eb488b3279c1c8" sha256: ba2aa5d8cc609d96bbb2899c28934f9e1af5cddbd60a827822ea467161eb54e7
url: "https://pub.dev" url: "https://pub.dev"
source: hosted source: hosted
version: "2.1.1" version: "2.1.2"
stream_transform: stream_transform:
dependency: transitive dependency: transitive
description: description:
@@ -560,10 +584,10 @@ packages:
dependency: transitive dependency: transitive
description: description:
name: test_api name: test_api
sha256: eb6ac1540b26de412b3403a163d919ba86f6a973fe6cc50ae3541b80092fdcfb sha256: "5c2f730018264d276c20e4f1503fd1308dfbbae39ec8ee63c5236311ac06954b"
url: "https://pub.dev" url: "https://pub.dev"
source: hosted source: hosted
version: "0.5.1" version: "0.6.1"
typed_data: typed_data:
dependency: transitive dependency: transitive
description: description:
@@ -584,74 +608,74 @@ packages:
dependency: transitive dependency: transitive
description: description:
name: url_launcher name: url_launcher
sha256: eb1e00ab44303d50dd487aab67ebc575456c146c6af44422f9c13889984c00f3 sha256: "0ecc004c62fd3ed36a2ffcbe0dd9700aee63bd7532d0b642a488b1ec310f492e"
url: "https://pub.dev" url: "https://pub.dev"
source: hosted source: hosted
version: "6.1.11" version: "6.2.5"
url_launcher_android: url_launcher_android:
dependency: transitive dependency: transitive
description: description:
name: url_launcher_android name: url_launcher_android
sha256: "15f5acbf0dce90146a0f5a2c4a002b1814a6303c4c5c075aa2623b2d16156f03" sha256: d4ed0711849dd8e33eb2dd69c25db0d0d3fdc37e0a62e629fe32f57a22db2745
url: "https://pub.dev" url: "https://pub.dev"
source: hosted source: hosted
version: "6.0.36" version: "6.3.0"
url_launcher_ios: url_launcher_ios:
dependency: transitive dependency: transitive
description: description:
name: url_launcher_ios name: url_launcher_ios
sha256: "9af7ea73259886b92199f9e42c116072f05ff9bea2dcb339ab935dfc957392c2" sha256: "9149d493b075ed740901f3ee844a38a00b33116c7c5c10d7fb27df8987fb51d5"
url: "https://pub.dev" url: "https://pub.dev"
source: hosted source: hosted
version: "6.1.4" version: "6.2.5"
url_launcher_linux: url_launcher_linux:
dependency: transitive dependency: transitive
description: description:
name: url_launcher_linux name: url_launcher_linux
sha256: "207f4ddda99b95b4d4868320a352d374b0b7e05eefad95a4a26f57da413443f5" sha256: ab360eb661f8879369acac07b6bb3ff09d9471155357da8443fd5d3cf7363811
url: "https://pub.dev" url: "https://pub.dev"
source: hosted source: hosted
version: "3.0.5" version: "3.1.1"
url_launcher_macos: url_launcher_macos:
dependency: transitive dependency: transitive
description: description:
name: url_launcher_macos name: url_launcher_macos
sha256: "91ee3e75ea9dadf38036200c5d3743518f4a5eb77a8d13fda1ee5764373f185e" sha256: b7244901ea3cf489c5335bdacda07264a6e960b1c1b1a9f91e4bc371d9e68234
url: "https://pub.dev" url: "https://pub.dev"
source: hosted source: hosted
version: "3.0.5" version: "3.1.0"
url_launcher_platform_interface: url_launcher_platform_interface:
dependency: transitive dependency: transitive
description: description:
name: url_launcher_platform_interface name: url_launcher_platform_interface
sha256: bfdfa402f1f3298637d71ca8ecfe840b4696698213d5346e9d12d4ab647ee2ea sha256: "552f8a1e663569be95a8190206a38187b531910283c3e982193e4f2733f01029"
url: "https://pub.dev" url: "https://pub.dev"
source: hosted source: hosted
version: "2.1.3" version: "2.3.2"
url_launcher_web: url_launcher_web:
dependency: transitive dependency: transitive
description: description:
name: url_launcher_web name: url_launcher_web
sha256: "6bb1e5d7fe53daf02a8fee85352432a40b1f868a81880e99ec7440113d5cfcab" sha256: "3692a459204a33e04bc94f5fb91158faf4f2c8903281ddd82915adecdb1a901d"
url: "https://pub.dev" url: "https://pub.dev"
source: hosted source: hosted
version: "2.0.17" version: "2.3.0"
url_launcher_windows: url_launcher_windows:
dependency: transitive dependency: transitive
description: description:
name: url_launcher_windows name: url_launcher_windows
sha256: "254708f17f7c20a9c8c471f67d86d76d4a3f9c1591aad1e15292008aceb82771" sha256: ecf9725510600aa2bb6d7ddabe16357691b6d2805f66216a97d1b881e21beff7
url: "https://pub.dev" url: "https://pub.dev"
source: hosted source: hosted
version: "3.0.6" version: "3.1.1"
uuid: uuid:
dependency: transitive dependency: transitive
description: description:
name: uuid name: uuid
sha256: "648e103079f7c64a36dc7d39369cabb358d377078a051d6ae2ad3aa539519313" sha256: cd210a09f7c18cbe5a02511718e0334de6559871052c90a90c0cca46a4aa81c8
url: "https://pub.dev" url: "https://pub.dev"
source: hosted source: hosted
version: "3.0.7" version: "4.3.3"
vector_math: vector_math:
dependency: transitive dependency: transitive
description: description:
@@ -660,14 +684,30 @@ packages:
url: "https://pub.dev" url: "https://pub.dev"
source: hosted source: hosted
version: "2.1.4" version: "2.1.4"
vm_service:
dependency: transitive
description:
name: vm_service
sha256: b3d56ff4341b8f182b96aceb2fa20e3dcb336b9f867bc0eafc0de10f1048e957
url: "https://pub.dev"
source: hosted
version: "13.0.0"
web:
dependency: transitive
description:
name: web
sha256: "97da13628db363c635202ad97068d47c5b8aa555808e7a9411963c533b449b27"
url: "https://pub.dev"
source: hosted
version: "0.5.1"
win32: win32:
dependency: transitive dependency: transitive
description: description:
name: win32 name: win32
sha256: dfdf0136e0aa7a1b474ea133e67cb0154a0acd2599c4f3ada3b49d38d38793ee sha256: "0a989dc7ca2bb51eac91e8fd00851297cfffd641aa7538b165c62637ca0eaa4a"
url: "https://pub.dev" url: "https://pub.dev"
source: hosted source: hosted
version: "5.0.5" version: "5.4.0"
wkt_parser: wkt_parser:
dependency: transitive dependency: transitive
description: description:
@@ -680,10 +720,10 @@ packages:
dependency: transitive dependency: transitive
description: description:
name: xdg_directories name: xdg_directories
sha256: ee1505df1426458f7f60aac270645098d318a8b4766d85fde75f76f2e21807d1 sha256: faea9dee56b520b55a566385b84f2e8de55e7496104adada9962e0bd11bcff1d
url: "https://pub.dev" url: "https://pub.dev"
source: hosted source: hosted
version: "1.0.0" version: "1.0.4"
sdks: sdks:
dart: ">=3.0.5 <4.0.0" dart: ">=3.3.0 <4.0.0"
flutter: ">=3.10.0" flutter: ">=3.19.0"

View File

@@ -46,7 +46,7 @@ dev_dependencies:
# activated in the `analysis_options.yaml` file located at the root of your # activated in the `analysis_options.yaml` file located at the root of your
# package. See that file for information about deactivating specific lint # package. See that file for information about deactivating specific lint
# rules and activating additional ones. # rules and activating additional ones.
flutter_lints: ^2.0.0 flutter_lints: ^3.0.2
map_camera_flutter: map_camera_flutter:
path: ../ path: ../

View File

@@ -1,11 +1,11 @@
// This is a generated file; do not edit or check into version control. // This is a generated file; do not edit or check into version control.
FLUTTER_ROOT=/Users/bijoy/Documents/flutter FLUTTER_ROOT=C:\flutter
FLUTTER_APPLICATION_PATH=/Users/bijoy/Documents/personal/map_camera_flutter FLUTTER_APPLICATION_PATH=G:\packages\map_camera_location_flutter
COCOAPODS_PARALLEL_CODE_SIGN=true COCOAPODS_PARALLEL_CODE_SIGN=true
FLUTTER_TARGET=lib/main.dart FLUTTER_TARGET=lib\main.dart
FLUTTER_BUILD_DIR=build FLUTTER_BUILD_DIR=build
FLUTTER_BUILD_NAME=0.0.1 FLUTTER_BUILD_NAME=0.0.4
FLUTTER_BUILD_NUMBER=0.0.1 FLUTTER_BUILD_NUMBER=0.0.4
EXCLUDED_ARCHS[sdk=iphonesimulator*]=i386 EXCLUDED_ARCHS[sdk=iphonesimulator*]=i386
EXCLUDED_ARCHS[sdk=iphoneos*]=armv7 EXCLUDED_ARCHS[sdk=iphoneos*]=armv7
DART_OBFUSCATION=false DART_OBFUSCATION=false

View File

@@ -1,12 +1,12 @@
#!/bin/sh #!/bin/sh
# This is a generated file; do not edit or check into version control. # This is a generated file; do not edit or check into version control.
export "FLUTTER_ROOT=/Users/bijoy/Documents/flutter" export "FLUTTER_ROOT=C:\flutter"
export "FLUTTER_APPLICATION_PATH=/Users/bijoy/Documents/personal/map_camera_flutter" export "FLUTTER_APPLICATION_PATH=G:\packages\map_camera_location_flutter"
export "COCOAPODS_PARALLEL_CODE_SIGN=true" export "COCOAPODS_PARALLEL_CODE_SIGN=true"
export "FLUTTER_TARGET=lib/main.dart" export "FLUTTER_TARGET=lib\main.dart"
export "FLUTTER_BUILD_DIR=build" export "FLUTTER_BUILD_DIR=build"
export "FLUTTER_BUILD_NAME=0.0.1" export "FLUTTER_BUILD_NAME=0.0.4"
export "FLUTTER_BUILD_NUMBER=0.0.1" export "FLUTTER_BUILD_NUMBER=0.0.4"
export "DART_OBFUSCATION=false" export "DART_OBFUSCATION=false"
export "TRACK_WIDGET_CREATION=true" export "TRACK_WIDGET_CREATION=true"
export "TREE_SHAKE_ICONS=false" export "TREE_SHAKE_ICONS=false"

View File

@@ -3,8 +3,6 @@ import 'dart:ui' as ui;
import 'package:latlong2/latlong.dart' as lat; import 'package:latlong2/latlong.dart' as lat;
import '../../map_camera_flutter.dart'; import '../../map_camera_flutter.dart';
///import 'package:your_app/map_camera_flutter.dart'; // Import the file where the MapCameraLocation widget is defined ///import 'package:your_app/map_camera_flutter.dart'; // Import the file where the MapCameraLocation widget is defined
/// ``` /// ```
@@ -36,7 +34,7 @@ import '../../map_camera_flutter.dart';
/// print('Latitude: ${data.latitude}'); /// print('Latitude: ${data.latitude}');
/// print('Longitude: ${data.longitude}'); /// print('Longitude: ${data.longitude}');
/// print('Location Name: ${data.locationName}'); /// print('Location Name: ${data.locationName}');
/// print('Sublocation: ${data.subLocation}'); /// print('SubLocation: ${data.subLocation}');
/// } /// }
/// ///
/// @override /// @override
@@ -50,7 +48,6 @@ import '../../map_camera_flutter.dart';
/// } /// }
/// ``` /// ```
// Callback function type for capturing image and location data // Callback function type for capturing image and location data
typedef ImageAndLocationCallback = void Function(ImageAndLocationData data); typedef ImageAndLocationCallback = void Function(ImageAndLocationData data);
@@ -62,8 +59,8 @@ class MapCameraLocation extends StatefulWidget {
/// ///
/// The [camera] parameter is required and represents the camera to be used for capturing images. /// The [camera] parameter is required and represents the camera to be used for capturing images.
/// The [onImageCaptured] parameter is an optional callback function that will be triggered when an image and location data are captured. /// The [onImageCaptured] parameter is an optional callback function that will be triggered when an image and location data are captured.
const MapCameraLocation({Key? key, required this.camera, this.onImageCaptured}) : super(key: key); const MapCameraLocation(
{super.key, required this.camera, this.onImageCaptured});
@override @override
State<MapCameraLocation> createState() => _MapCameraLocationState(); State<MapCameraLocation> createState() => _MapCameraLocationState();
@@ -71,43 +68,56 @@ class MapCameraLocation extends StatefulWidget {
class _MapCameraLocationState extends State<MapCameraLocation> { class _MapCameraLocationState extends State<MapCameraLocation> {
late CameraController _controller; late CameraController _controller;
/// Represents a controller for the camera, used to control camera-related operations. /// Represents a controller for the camera, used to control camera-related operations.
late Future<void> _initializeControllerFuture; late Future<void> _initializeControllerFuture;
/// Represents a future that resolves when the camera controller has finished initializing. /// Represents a future that resolves when the camera controller has finished initializing.
late FollowOnLocationUpdate _followOnLocationUpdate; late AlignOnUpdate _followOnLocationUpdate;
/// Enum value indicating when to follow location updates. /// Enum value indicating when to follow location updates.
late StreamController<double?> _followCurrentLocationStreamController; late StreamController<double?> _followCurrentLocationStreamController;
/// Stream controller used to track the current location. /// Stream controller used to track the current location.
File? cameraImagePath; File? cameraImagePath;
/// File path of the captured camera image. /// File path of the captured camera image.
File? ssImage; File? ssImage;
/// File path of the captured screen shot image. /// File path of the captured screen shot image.
String? dateTime; String? dateTime;
/// A formatted string representing the current date and time. /// A formatted string representing the current date and time.
final globalKey = GlobalKey(); final globalKey = GlobalKey();
/// Key used to uniquely identify and control a widget. /// Key used to uniquely identify and control a widget.
Placemark? placeMark; Placemark? placeMark;
/// Represents geocoded location information. /// Represents geocoded location information.
String? latitudeServer; String? latitudeServer;
/// Latitude value of the current location as a string. /// Latitude value of the current location as a string.
String? longitudeServer; String? longitudeServer;
/// Longitude value of the current location as a string. /// Longitude value of the current location as a string.
String? locationName; String? locationName;
/// Name of the current location as a string. /// Name of the current location as a string.
String? subLocation; String? subLocation;
/// Sublocation of the current location as a string.
/// SubLocation of the current location as a string.
/// Callback function to retrieve the image and location data. /// Callback function to retrieve the image and location data.
ImageAndLocationData getImageAndLocationData() { ImageAndLocationData getImageAndLocationData() {
@@ -123,21 +133,23 @@ class _MapCameraLocationState extends State<MapCameraLocation> {
@override @override
void initState() { void initState() {
super.initState(); super.initState();
updatePosition(context); Timer.periodic(const Duration(seconds: 1), (timer) async {
await updatePosition(context);
});
// Initialize the camera controller // Initialize the camera controller
_controller = CameraController( _controller = CameraController(
widget.camera, widget.camera,
ResolutionPreset.medium, ResolutionPreset.medium,
); );
_initializeControllerFuture = _controller.initialize(); _initializeControllerFuture = _controller.initialize();
_followOnLocationUpdate = FollowOnLocationUpdate.always; _followOnLocationUpdate = AlignOnUpdate.always;
_followCurrentLocationStreamController = StreamController<double?>(); _followCurrentLocationStreamController = StreamController<double?>();
// Get the current date and time in a formatted string // Get the current date and time in a formatted string
dateTime = DateFormat.yMd().add_jm().format(DateTime.now()); dateTime = DateFormat.yMd().add_jm().format(DateTime.now());
} }
@override @override
void dispose() { void dispose() {
_controller.dispose(); _controller.dispose();
@@ -190,15 +202,17 @@ class _MapCameraLocationState extends State<MapCameraLocation> {
CircularProgressIndicator()) CircularProgressIndicator())
: FlutterMap( : FlutterMap(
options: MapOptions( options: MapOptions(
center: const lat.LatLng(0, 0), initialCenter:
zoom: 13.0, const lat.LatLng(0, 0),
initialZoom: 13.0,
onPositionChanged: onPositionChanged:
(MapPosition position, (MapPosition position,
bool hasGesture) { bool hasGesture) {
if (hasGesture) { if (hasGesture) {
setState( setState(
() => _followOnLocationUpdate = () =>
FollowOnLocationUpdate _followOnLocationUpdate =
AlignOnUpdate
.never, .never,
); );
} }
@@ -213,10 +227,10 @@ class _MapCameraLocationState extends State<MapCameraLocation> {
minZoom: 12, minZoom: 12,
), ),
CurrentLocationLayer( CurrentLocationLayer(
followCurrentLocationStream: alignPositionStream:
_followCurrentLocationStreamController _followCurrentLocationStreamController
.stream, .stream,
followOnLocationUpdate: alignPositionOnUpdate:
_followOnLocationUpdate, _followOnLocationUpdate,
), ),
], ],
@@ -342,7 +356,8 @@ class _MapCameraLocationState extends State<MapCameraLocation> {
var rng = Random(); var rng = Random();
// Get the render boundary of the widget // Get the render boundary of the widget
final RenderRepaintBoundary boundary = globalKey.currentContext!.findRenderObject()! as RenderRepaintBoundary; final RenderRepaintBoundary boundary =
globalKey.currentContext!.findRenderObject()! as RenderRepaintBoundary;
// Capture the screen as an image // Capture the screen as an image
ui.Image image = await boundary.toImage(); ui.Image image = await boundary.toImage();
@@ -384,7 +399,7 @@ class _MapCameraLocationState extends State<MapCameraLocation> {
} }
/// Updates the current position by retrieving the latitude, longitude, location name, /// Updates the current position by retrieving the latitude, longitude, location name,
/// and sublocation based on the user's device location. Updates the corresponding /// and subLocation based on the user's device location. Updates the corresponding
/// state variables with the retrieved data. /// state variables with the retrieved data.
/// Throws an exception if there is an error retrieving the location information. /// Throws an exception if there is an error retrieving the location information.
Future<void> updatePosition(BuildContext context) async { Future<void> updatePosition(BuildContext context) async {
@@ -392,25 +407,29 @@ class _MapCameraLocationState extends State<MapCameraLocation> {
// Determine the current position // Determine the current position
final position = await _determinePosition(); final position = await _determinePosition();
// Retrieve the placemarks for the current position // Retrieve the placeMarks for the current position
final placemarks = await placemarkFromCoordinates(position.latitude, position.longitude); final placeMarks =
await placemarkFromCoordinates(position.latitude, position.longitude);
if (placemarks.isNotEmpty) { if (placeMarks.isNotEmpty) {
final placemark = placemarks.first; final placeMark = placeMarks.first;
// Update the state variables with the retrieved location data // Update the state variables with the retrieved location data
setState(() { setState(() {
latitudeServer = position.latitude.toString(); latitudeServer = position.latitude.toString();
longitudeServer = position.longitude.toString(); longitudeServer = position.longitude.toString();
locationName = "${placemark.locality ?? ""}, ${placemark.administrativeArea ?? ""}, ${placemark.country ?? ""}"; locationName =
subLocation = "${placemark.street ?? ""}, ${placemark.thoroughfare ?? ""} ${placemark.administrativeArea ?? ""}"; "${placeMark.locality ?? ""}, ${placeMark.administrativeArea ?? ""}, ${placeMark.country ?? ""}";
subLocation =
"${placeMark.street ?? ""}, ${placeMark.thoroughfare ?? ""} ${placeMark.administrativeArea ?? ""}";
}); });
if (kDebugMode) { if (kDebugMode) {
print("Latitude: $latitudeServer, Longitude: $longitudeServer, Location: $locationName"); print(
"Latitude: $latitudeServer, Longitude: $longitudeServer, Location: $locationName");
} }
} else { } else {
// Handle case when no placemark is available // Handle case when no placeMark is available
setState(() { setState(() {
latitudeServer = null; latitudeServer = null;
longitudeServer = null; longitudeServer = null;
@@ -429,7 +448,7 @@ class _MapCameraLocationState extends State<MapCameraLocation> {
} }
} }
/// Determines the current position using the Geolocator package. /// Determines the current position using the GeoLocator package.
/// Returns the current position as a [Position] object. /// Returns the current position as a [Position] object.
/// Throws an exception if there is an error determining the position or if the necessary permissions are not granted. /// Throws an exception if there is an error determining the position or if the necessary permissions are not granted.
Future<Position> _determinePosition() async { Future<Position> _determinePosition() async {
@@ -456,7 +475,8 @@ class _MapCameraLocationState extends State<MapCameraLocation> {
// Check if location permission is permanently denied // Check if location permission is permanently denied
if (permission == LocationPermission.deniedForever) { if (permission == LocationPermission.deniedForever) {
// Throw an exception if location permission is permanently denied // Throw an exception if location permission is permanently denied
throw Exception('Location permissions are permanently denied, we cannot request permissions.'); throw Exception(
'Location permissions are permanently denied, we cannot request permissions.');
} }
// Get the current position // Get the current position

View File

@@ -1,10 +1,10 @@
// This is a generated file; do not edit or check into version control. // This is a generated file; do not edit or check into version control.
FLUTTER_ROOT=/Users/bijoy/Documents/flutter FLUTTER_ROOT=C:\flutter
FLUTTER_APPLICATION_PATH=/Users/bijoy/Documents/personal/map_camera_flutter FLUTTER_APPLICATION_PATH=G:\packages\map_camera_location_flutter
COCOAPODS_PARALLEL_CODE_SIGN=true COCOAPODS_PARALLEL_CODE_SIGN=true
FLUTTER_BUILD_DIR=build FLUTTER_BUILD_DIR=build
FLUTTER_BUILD_NAME=0.0.1 FLUTTER_BUILD_NAME=0.0.4
FLUTTER_BUILD_NUMBER=0.0.1 FLUTTER_BUILD_NUMBER=0.0.4
DART_OBFUSCATION=false DART_OBFUSCATION=false
TRACK_WIDGET_CREATION=true TRACK_WIDGET_CREATION=true
TREE_SHAKE_ICONS=false TREE_SHAKE_ICONS=false

View File

@@ -1,11 +1,11 @@
#!/bin/sh #!/bin/sh
# This is a generated file; do not edit or check into version control. # This is a generated file; do not edit or check into version control.
export "FLUTTER_ROOT=/Users/bijoy/Documents/flutter" export "FLUTTER_ROOT=C:\flutter"
export "FLUTTER_APPLICATION_PATH=/Users/bijoy/Documents/personal/map_camera_flutter" export "FLUTTER_APPLICATION_PATH=G:\packages\map_camera_location_flutter"
export "COCOAPODS_PARALLEL_CODE_SIGN=true" export "COCOAPODS_PARALLEL_CODE_SIGN=true"
export "FLUTTER_BUILD_DIR=build" export "FLUTTER_BUILD_DIR=build"
export "FLUTTER_BUILD_NAME=0.0.1" export "FLUTTER_BUILD_NAME=0.0.4"
export "FLUTTER_BUILD_NUMBER=0.0.1" export "FLUTTER_BUILD_NUMBER=0.0.4"
export "DART_OBFUSCATION=false" export "DART_OBFUSCATION=false"
export "TRACK_WIDGET_CREATION=true" export "TRACK_WIDGET_CREATION=true"
export "TREE_SHAKE_ICONS=false" export "TREE_SHAKE_ICONS=false"

View File

@@ -13,21 +13,21 @@ dependencies:
sdk: flutter sdk: flutter
cupertino_icons: ^1.0.2 cupertino_icons: ^1.0.2
camera: ^0.10.3 camera: ^0.10.3
geolocator: ^9.0.2 geolocator: ^11.0.0
geocoding: ^2.0.2 geocoding: ^3.0.0
intl: ^0.18.1 intl: ^0.19.0
path_provider: ^2.0.11 path_provider: ^2.0.11
flutter_map: ^5.0.0 flutter_map: ^6.1.0
flutter_map_location_marker: ^7.0.0 flutter_map_location_marker: ^8.0.8
url_launcher: ^6.1.11 url_launcher: ^6.1.11
flutter_compass: ^0.7.0 flutter_compass: ^0.8.0
permission_handler: ^10.4.1 permission_handler: ^11.3.1
latlong2: ^0.9.0 latlong2: ^0.9.0
dev_dependencies: dev_dependencies:
flutter_test: flutter_test:
sdk: flutter sdk: flutter
flutter_lints: ^2.0.0 flutter_lints: ^3.0.2
# For information on the generic Dart part of this file, see the # For information on the generic Dart part of this file, see the
# following page: https://dart.dev/tools/pub/pubspec # following page: https://dart.dev/tools/pub/pubspec

View File

@@ -1,7 +1,5 @@
import 'package:flutter_test/flutter_test.dart'; import 'package:flutter_test/flutter_test.dart';
void main() { void main() {
test('adds one to input values', () { test('adds one to input values', () {});
});
} }