teno_mindmap 0.0.2
teno_mindmap: ^0.0.2 copied to clipboard
A simple Mind Map library with a ready-to-use starting implementation.
⚠️ WARNING: I have downgraded
freezedto version 2.5.7 so old projects will not have compatibility issues withsource_gen2.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.

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