h3_flutter 0.1.0
h3_flutter: ^0.1.0 copied to clipboard
Bindings to H3 library
example/lib/main.dart
import 'package:flutter/material.dart';
import 'package:h3_flutter/h3_flutter.dart';
void main() {
runApp(const MyApp());
}
class MyApp extends StatefulWidget {
const MyApp({Key? key}) : super(key: key);
@override
State<MyApp> createState() => _MyAppState();
}
class _MyAppState extends State<MyApp> {
@override
Widget build(BuildContext context) {
return MaterialApp(
home: Scaffold(
appBar: AppBar(
title: const Text('Plugin example app'),
),
body: Center(
child: Text('Running on: ${h3.degsToRads(12)}\n'),
),
),
);
}
}