h3_flutter 0.4.0 copy "h3_flutter: ^0.4.0" to clipboard
h3_flutter: ^0.4.0 copied to clipboard

outdated

The package provides Dart version of the H3 Core library, a hexagon-based geographic grid system

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'),
        ),
      ),
    );
  }
}
20
likes
0
points
1.29k
downloads

Publisher

verified publisherfestelo.net

Weekly Downloads

The package provides Dart version of the H3 Core library, a hexagon-based geographic grid system

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

ffi, flutter

More

Packages that depend on h3_flutter

Packages that implement h3_flutter