mapsted_flutter 0.0.9 copy "mapsted_flutter: ^0.0.9" to clipboard
mapsted_flutter: ^0.0.9 copied to clipboard

A Flutter plugin for integrating Mapsted's advanced location and mapping technology, offering easy access to precise indoor and outdoor navigation features.

example/lib/main.dart

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

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

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

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

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

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

class MyHomePageState extends State<MyHomePage> {
  final MapstedFlutter mapsted = MapstedFlutter();

  Future<void> launchMapActivity() async {
    try {
      await mapsted.launchMapActivity();
    } catch (e) {
      print('Error launching map activity: $e');
    }
  }

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: const Text('Mapsted Plugin Demo'),
      ),
      body: Center(
        child: ElevatedButton(
          onPressed: launchMapActivity,
          child: const Text("Launch Map"),
        ),
      ),
    );
  }
}
0
likes
150
points
1
downloads

Publisher

unverified uploader

Weekly Downloads

A Flutter plugin for integrating Mapsted's advanced location and mapping technology, offering easy access to precise indoor and outdoor navigation features.

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

GPL-3.0 (license)

Dependencies

args, flutter, plist_parser, plugin_platform_interface, xml, yaml

More

Packages that depend on mapsted_flutter

Packages that implement mapsted_flutter