treemap

Creator: coderz1093

Last updated:

Add to Cart

Description:

treemap

Treemap #

A simple Dart implementation of treemap.






Usage #
Add treemap to your pubspec:
dependencies:
treemap: any # or the latest version on Pub
copied to clipboard
Add in you project.
Widget build(BuildContext context) {
return child: TreeMapLayout(
tile: Binary(),
children: [
TreeNode.node(
padding: EdgeInsets.symmetric(horizontal: 20),
children: [
TreeNode.leaf(
value: 16,
margin: EdgeInsets.all(5),
),
TreeNode.leaf(
value: 57,
margin: EdgeInsets.all(5),
),
TreeNode.leaf(
value: 97,
margin: EdgeInsets.all(5),
),
TreeNode.leaf(
value: 3,
margin: EdgeInsets.all(5),
),
TreeNode.leaf(
value: 43,
margin: EdgeInsets.all(5),
),
TreeNode.leaf(
value: 54,
margin: EdgeInsets.all(5),
),
],
),
],
);
}
copied to clipboard
Run the example #
See the example/ folder for a working example app.
Supporting Me #
A donation through my Ko-Fi page would be infinitly appriciated:

but, if you can't or won't, a star on GitHub and a like on pub.dev would also go a long way!
Every donation gives me fuel to continue my open-source projects and lets me know that I'm doing a good job.

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Customer Reviews

There are no reviews.