quadtree_dart 1.0.1 copy "quadtree_dart: ^1.0.1" to clipboard
quadtree_dart: ^1.0.1 copied to clipboard

outdated

A lightweight implementation of Quadtrees in Dart.

example/lib/main.dart

import 'package:example/quadtree.dart';
import 'package:example/sidebar.dart';
import 'package:flutter/material.dart';
import 'package:flutter_riverpod/flutter_riverpod.dart';

void main() {
  runApp(
    ProviderScope(
      child: MaterialApp(
        title: 'Quadtree by RJM',
        debugShowCheckedModeBanner: false,
        home: App(),
      ),
    ),
  );
}

class App extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: Row(
        crossAxisAlignment: CrossAxisAlignment.start,
        children: [ 
          SizedBox(
            width: 300,
            child: Sidebar(),
          ),
          Expanded(
            child: QuadtreeView(),
          ),
        ],
      ),
    );
  }
}
5
likes
0
pub points
68%
popularity

Publisher

verified publisherrjmath.com

A lightweight implementation of Quadtrees in Dart.

Homepage
Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

quiver

More

Packages that depend on quadtree_dart