mapmyindia_flutter 1.0.8 copy "mapmyindia_flutter: ^1.0.8" to clipboard
mapmyindia_flutter: ^1.0.8 copied to clipboard

Unofficial MapMyIndia Flutter packages .MapmyIndia is an Indian technology company that builds digital map data, telematics services, location-based SaaS and GIS AI services.

example/lib/main.dart

import 'package:example/Geocoding/reverse_geocding.dart';
import 'package:example/StillMapImage/StillMapImage.dart';
import 'package:flutter/material.dart';

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

class MyApp extends StatelessWidget {
  // This widget is the root of your application.
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        primarySwatch: Colors.blue,
        visualDensity: VisualDensity.adaptivePlatformDensity,
      ),
      home: MyHomePage(title: 'Flutter Demo Home Page'),
    );
  }
}

class MyHomePage extends StatefulWidget {
  MyHomePage({Key key, this.title}) : super(key: key);

  final String title;

  @override
  _MyHomePageState createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text("MapMyIndia"),
      ),
      body: Center(
        child: Column(
          mainAxisAlignment: MainAxisAlignment.center,
          children: [
            ElevatedButton(
                child: Text("Reverse Geocoding"),
                onPressed: () {
                  // https://github.com/nikhiladmin/mapmyindia-flutter/blob/master/example/lib/Geocoding/reverse_geocding.dart
                  Navigator.push(context,
                      MaterialPageRoute(builder: (ctx) => ReverseGeocoding()));
                }),
            ElevatedButton(
                child: Text("Still Map Image"),
                onPressed: () {
                  Navigator.push(context,
                      MaterialPageRoute(builder: (ctx) => StillMapImage()));
                }),
          ],
        ),
      ),
    );
  }
}
8
likes
110
pub points
66%
popularity

Publisher

unverified uploader

Unofficial MapMyIndia Flutter packages .MapmyIndia is an Indian technology company that builds digital map data, telematics services, location-based SaaS and GIS AI services.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-2-Clause (LICENSE)

Dependencies

http

More

Packages that depend on mapmyindia_flutter