update position

This commit is contained in:
bijoy
2023-07-03 14:34:38 +06:00
parent 02e215a89f
commit 143074fa92
52 changed files with 13 additions and 15 deletions

View File

@@ -1,6 +1,6 @@
# 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_android=/Users/bijoy/.pub-cache/hosted/pub.dev/camera_android-0.10.8+2/
camera_android=/Users/bijoy/.pub-cache/hosted/pub.dev/camera_android-0.10.8+3/
camera_avfoundation=/Users/bijoy/.pub-cache/hosted/pub.dev/camera_avfoundation-0.9.13+2/
camera_web=/Users/bijoy/.pub-cache/hosted/pub.dev/camera_web-0.3.1+4/
flutter_compass=/Users/bijoy/.pub-cache/hosted/pub.dev/flutter_compass-0.7.0/

File diff suppressed because one or more lines are too long

View File

@@ -1,6 +1,5 @@
import 'package:flutter/material.dart';
import 'package:map_camera_flutter/map_camera_flutter.dart';
import 'package:permission_handler/permission_handler.dart';
void main() async{

View File

@@ -29,10 +29,10 @@ packages:
dependency: transitive
description:
name: camera_android
sha256: f83e406d34f5faa80bf0f5c3beee4b4c11da94a94e9621c1bb8e312988621b4b
sha256: f43d07f9d7228ea1ca87d22e30881bd68da4b78484a1fbd1f1408b412a41cefb
url: "https://pub.dev"
source: hosted
version: "0.10.8+2"
version: "0.10.8+3"
camera_avfoundation:
dependency: transitive
description:
@@ -284,10 +284,10 @@ packages:
dependency: transitive
description:
name: intl
sha256: "910f85bce16fb5c6f614e117efa303e85a1731bb0081edf3604a2ae6e9a3cc91"
sha256: "3bc132a9dbce73a7e4a21a17d06e1878839ffbf975568bc875c60537824b0c4d"
url: "https://pub.dev"
source: hosted
version: "0.17.0"
version: "0.18.1"
js:
dependency: transitive
description:
@@ -326,7 +326,7 @@ packages:
path: ".."
relative: true
source: path
version: "0.0.1"
version: "0.0.0"
matcher:
dependency: transitive
description:

View File

@@ -117,7 +117,7 @@ class _MapCameraLocationState extends State<MapCameraLocation> {
@override
void initState() {
super.initState();
updatePosition(context);
// Initialize the camera controller
_controller = CameraController(
widget.camera,
@@ -135,6 +135,7 @@ class _MapCameraLocationState extends State<MapCameraLocation> {
@override
void dispose() {
_controller.dispose();
// _followCurrentLocationStreamController.close();
super.dispose();
}
@@ -161,7 +162,7 @@ class _MapCameraLocationState extends State<MapCameraLocation> {
mainAxisAlignment: MainAxisAlignment.center,
children: [
SizedBox(
height: 130,
height: 160,
child: Row(
crossAxisAlignment: CrossAxisAlignment.start,
children: [
@@ -174,7 +175,7 @@ class _MapCameraLocationState extends State<MapCameraLocation> {
borderRadius: BorderRadius.circular(8.0)),
child: SizedBox(
// height: 130,
width: 100,
width: 120,
child: Padding(
padding: const EdgeInsets.all(5.0),
child: latitudeServer == null

View File

@@ -1,6 +1,5 @@
name: map_camera_flutter
description: The MapCameraLocation package provides a convenient way to capture images with location data using the device's camera. It allows you to integrate camera functionality into your Flutter applications and retrieve the captured image along with its corresponding location information. This package simplifies the process of capturing images and location data, making it easier to develop location-aware applications.
version: 0.0.1
description: The MapCameraLocation package provides a convenient way to capture images with map and location data using the device's camera.
homepage: https://github.com/Always-Bijoy/map_camera_location_flutter
environment:
@@ -12,10 +11,9 @@ dependencies:
sdk: flutter
cupertino_icons: ^1.0.2
camera: ^0.10.3
# google_maps_flutter: ^2.2.3
geolocator: ^9.0.2
geocoding: ^2.0.2
intl: ^0.17.0
intl: ^0.18.1
path_provider: ^2.0.11
flutter_map: ^5.0.0
flutter_map_location_marker: ^7.0.0