na_map_tools 0.0.3 copy "na_map_tools: ^0.0.3" to clipboard
na_map_tools: ^0.0.3 copied to clipboard

outdated

a tool for working with location and map data (special features for IRAN)

example/lib/main.dart

import 'package:flutter/material.dart';
import 'package:na_map_tools/namaptools_lib.dart';

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

class MyApp extends StatefulWidget {
  @override
  _MyAppState createState() => _MyAppState();
}

class _MyAppState extends State<MyApp> {
  NaMapTools naMapTools = NaMapTools();

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        appBar: AppBar(
          title: const Text('NaToolsMap Example'),
        ),
        body: Center(
          child: Text(
              'closest city:${naMapTools.findClosestCity(NaLocation(longitude: 34.0, latitude: 52.0)).geoLocation.toString()} '),
        ),
      ),
    );
  }
}
4
likes
0
points
23
downloads

Publisher

unverified uploader

Weekly Downloads

a tool for working with location and map data (special features for IRAN)

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter, flutter_web_plugins

More

Packages that depend on na_map_tools