navigation_map 0.0.2 copy "navigation_map: ^0.0.2" to clipboard
navigation_map: ^0.0.2 copied to clipboard

A Flutter package for navigation and location tracking with live maps.

example/lib/main.dart

import 'package:flutter/material.dart';
import 'package:navigation_map/navigation_map.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      
      home: const home,
    );
  }
}

class home extends StatefulWidget {
  const home({super.key});

  @override
  State<home> createState() => _homeState();
}

class _homeState extends State<home> {
  final GlobalKey<NavigationMapState> navMapKey = GlobalKey();
  @override
  Widget build(BuildContext context) {
    return SafeArea(
        child: Scaffold(
      body: NavigationMap(
        key: navMapKey,
      ),
      floatingActionButton: FloatingActionButton(onPressed: () {
        
      }),
    ));
  }
}
1
likes
130
points
72
downloads

Publisher

unverified uploader

Weekly Downloads

A Flutter package for navigation and location tracking with live maps.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

compassx, flutter, flutter_lints, flutter_map, geolocator, http, latlong2, motion_toast, mtmc

More

Packages that depend on navigation_map