tmap_map_fluttify 0.3.0 copy "tmap_map_fluttify: ^0.3.0" to clipboard
tmap_map_fluttify: ^0.3.0 copied to clipboard

An `Tencent Map` Map Component, Powered By `Fluttify` Compiler, A Dart Bindings Generator For Native SDK.

example/lib/main.dart

import 'package:flutter/material.dart';
import 'package:foundation_fluttify/foundation_fluttify.dart';
import 'package:oktoast/oktoast.dart';
import 'package:tmap_map_fluttify/tmap_map_fluttify.dart';

import 'map/map.screen.dart';

void main() async {
  WidgetsFlutterBinding.ensureInitialized();
  await enableFluttifyLog(true);
  await TmapService.instance.init(
    iosKey: 'FQJBZ-BPJKX-W444H-7CXGL-2DTVK-66B2R',
    androidKey: null,
  );
  runApp(MyApp());
}

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

class _MyAppState extends State<MyApp> {
  @override
  Widget build(BuildContext context) {
    return OKToast(
      child: MaterialApp(
        home: Scaffold(
          appBar: AppBar(title: const Text('TMaps examples')),
          backgroundColor: Colors.grey.shade200,
          body: MapDemo(),
        ),
      ),
    );
  }
}
0
likes
30
pub points
0%
popularity

Publisher

verified publisherfluttify.com

An `Tencent Map` Map Component, Powered By `Fluttify` Compiler, A Dart Bindings Generator For Native SDK.

Homepage

License

unknown (LICENSE)

Dependencies

core_location_fluttify, flutter, foundation_fluttify, uni_map_platform_interface

More

Packages that depend on tmap_map_fluttify