teno_mindmap 0.0.2 copy "teno_mindmap: ^0.0.2" to clipboard
teno_mindmap: ^0.0.2 copied to clipboard

A simple Mind Map library with a ready-to-use starting implementation.

Build Status codecov Pub Package

⚠️ WARNING: I have downgraded freezed to version 2.5.7 so old projects will not have compatibility issues with source_gen 2.0.0

Simple implementation of a Mind Map using a Radial layout. This layout ensures child nodes do not overlap with their parents or siblings by automatically rebalancing node positions. Additionally, nodes with more children automatically take up more angular span.

teno_mindmap.png

Features #

With the default implementation, it provides:

  • Automatic rebalancing
  • Add, update, and remove nodes
  • Panning and zooming support

Fully customizable:

  • Node and connector rendering (see Dashboard.dart)
  • BLoC state management integration

Getting started #

Check out the example folder for usage with the default implementation.

Usage #

flutter pub add teno_mindmap
class HomePage extends StatelessWidget {
  const HomePage({super.key});

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(title: const Text('Mind Map Canvas')),
      body: const MindMap(title: 'Your Goal'),
    );
  }
}

TODO LIST: #

  • ❌ Increase test coverage
  • ❌ Add prebuilt styles for the default implementation
1
likes
140
points
14
downloads

Publisher

verified publishertenolife.com

Weekly Downloads

A simple Mind Map library with a ready-to-use starting implementation.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter, flutter_bloc, flutter_localizations, freezed_annotation, intl, json_annotation, logging, star_menu, uuid

More

Packages that depend on teno_mindmap