treemap_ui 0.3.3

  • Installing
  • Versions
  • 25


A generic treemap user interface component for web applications written in Dart.


  • Highly customizable through a exentsible data model
  • Supports live updates and user interaction
  • Includes several common layout algorithms
    • Slice-And-Dice
    • Strip
    • Squarified
    • Split
    • Pivot-by-Size
    • Pivot-by-Middle


Install bleeding edge version

Add this to your pubspec.yaml:


Then run the package manager pub:

pub install


Patches and pull requests are welcome. Please file issues in our issue tracker.


We follow Semantic Versioning.


Licensed under the Apache License, Version 2.0

Use this package as a library

1. Depend on it

Add this to your package's pubspec.yaml file:

  treemap_ui: "^0.3.3"

2. Install it

You can install packages from the command line:

with pub:

$ pub get

Alternatively, your editor might support pub get. Check the docs for your editor to learn more.

3. Import it

Now in your Dart code, you can use:

      import 'package:treemap_ui/treemap_ui.dart';
Version Uploaded Documentation Archive
0.3.3 Nov 12, 2013 Go to the documentation of treemap_ui 0.3.3 Download treemap_ui 0.3.3 archive
0.3.2 Oct 21, 2013 Go to the documentation of treemap_ui 0.3.2 Download treemap_ui 0.3.2 archive
0.3.1 Oct 9, 2013 Go to the documentation of treemap_ui 0.3.1 Download treemap_ui 0.3.1 archive
0.3.0 Aug 27, 2013 Go to the documentation of treemap_ui 0.3.0 Download treemap_ui 0.3.0 archive
0.2.2 Aug 16, 2013 Go to the documentation of treemap_ui 0.2.2 Download treemap_ui 0.2.2 archive
0.2.1+4 Jul 16, 2013 Go to the documentation of treemap_ui 0.2.1+4 Download treemap_ui 0.2.1+4 archive
0.2.1+3 Jul 16, 2013 Go to the documentation of treemap_ui 0.2.1+3 Download treemap_ui 0.2.1+3 archive
0.2.1+2 Jul 16, 2013 Go to the documentation of treemap_ui 0.2.1+2 Download treemap_ui 0.2.1+2 archive
0.2.1+1 Jul 16, 2013 Go to the documentation of treemap_ui 0.2.1+1 Download treemap_ui 0.2.1+1 archive
0.2.1 Jul 16, 2013 Go to the documentation of treemap_ui 0.2.1 Download treemap_ui 0.2.1 archive

All 11 versions...


We analyzed this package on Jun 12, 2018, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.0.0-dev.60.0
  • pana: 0.11.3


Describes how popular the package is relative to other packages. [more]
0 / 100
Code health derived from static analysis. [more]
82 / 100
Reflects how tidy and up-to-date the package is. [more]
0 / 100
Overall score:
Weighted score of the above. [more]
Learn more about scoring.


Detected platforms: web

Primary library: package:treemap_ui/treemap_ui.dart with components: html.


  • Maintain

    Changelog entries help clients to follow the progress in your code.

  • Package is too old.

    The package was released more than two years ago.

  • Fix analysis and formatting issues.

    Analysis or formatting checks reported 14 errors 34 hints.

    Strong-mode analysis of lib/src/layout/squarified.dart failed with the following error:

    line: 21 col: 68
    The argument type 'List' can't be assigned to the parameter type 'Iterable<DataModel>'.

    Strong-mode analysis of lib/src/layout/strip.dart failed with the following error:

    line: 23 col: 58
    The argument type 'List' can't be assigned to the parameter type 'Iterable<DataModel>'.

    Similar analysis of the following files failed:

    • lib/src/utils/color.dart (error)
    • lib/src/utils/observable_list.dart (error)
    • lib/src/utils/orientation.dart (error)
    • lib/src/utils/percentage.dart (error)
    • lib/layout.dart (hint)
    • lib/model.dart (hint)
    • lib/src/layout/layout_algorithm.dart (hint)
    • lib/src/layout/layout_utils.dart (hint)
    • lib/src/layout/pivot.dart (hint)
    • lib/src/layout/slice_and_dice.dart (hint)
    • lib/src/layout/split.dart (hint)
    • lib/src/model/branch.dart (hint)
    • lib/src/model/data_model.dart (hint)
    • lib/src/model/leaf.dart (hint)
    • lib/src/view/branch_node.dart (hint)
    • lib/src/view/decorator.dart (hint)
    • lib/src/view/default_branch_decorator.dart (hint)
    • lib/src/view/default_leaf_decorator.dart (hint)
    • lib/src/view/display_area.dart (hint)
    • lib/src/view/layout_aid.dart (hint)
    • lib/src/view/leaf_node.dart (hint)
    • lib/src/view/node.dart (hint)
    • lib/src/view/node_label.dart (hint)
    • lib/src/view/tooltip.dart (hint)
    • lib/src/view/treemap_style.dart (hint)
    • lib/src/view/view_model.dart (hint)
    • lib/treemap_ui.dart (hint)
    • lib/utils.dart (hint)
    • lib/view.dart (hint)
  • The description is too short.

    Add more detail about the package, what it does and what is its target use case. Try to write at least 60 characters.

  • Package is pre-v1 release.

    While there is nothing inherently wrong with versions of 0.*.*, it usually means that the author is still experimenting with the general direction API.

  • Maintain an example.

    None of the files in your example/ directory matches a known example patterns. Common file name patterns include: main.dart, example.dart or you could also use treemap_ui.dart.


Package Constraint Resolved Available
Direct dependencies
Dart SDK >=0.8.10+6 <2.0.0
browser >=0.6.3+1 <0.10.0 0.9.1 0.10.0+3
Dev dependencies
unittest >=0.9.0 <0.10.0