vector_tile_renderer 2.1.4 vector_tile_renderer: ^2.1.4 copied to clipboard
A vector tile renderer for use in creating map tile images or writing to a canvas.
import 'package:flutter/material.dart';
import 'tile.dart';
void main() {
runApp(MyApp());
}
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return MaterialApp(
title: 'Flutter Demo',
theme: ThemeData.light(),
home: MyHomePage(),
);
}
}
class MyHomePage extends StatelessWidget {
MyHomePage();
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
title: Text("Vector Tile Example"),
),
body: Center(child: Tile()),
);
}
}