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

@@ -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