Skip to content
pubscout

word_cloud

1.0.3, released 2 years ago by an unverified publisher

Generate and visualize word clouds in Flutter with shape, color, and click support.

WASM-ready
$ flutter pub add word_cloud
Source repository

What it does

Allows developers to create word cloud visualizations from a dataset of words and values. It supports shapes like circles and ellipses, custom color lists, font styling, background decorations, and interactive clickable words via WordCloudTapView.

AI-written summary of version 1.0.3, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You need to visualize text data frequencies as a word cloud in a Flutter app.
  • You want interactive words that trigger actions when tapped.

Skip it when

  • You need complex data graphs other than word clouds.
  • You require advanced layout algorithms not covered by circle or ellipse shapes.

Strengths

  • Supports custom shapes such as circles and ellipses.
  • Provides interactive click handling for words in the cloud.
  • Customizable font styling, sizes, and color lists.

Weaknesses

  • Limited to circle and ellipse shapes.
  • Increasing the attempt parameter to fit all words can cause performance slowdowns.

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
0
WordCloudData mydata = WordCloudData(data: [{'word': 'Apple','value': 100}]);
WordCloudView(data: mydata, mapwidth: 500, mapheight: 500);

Alternatives

Packages that do the same job and could replace word_cloud.

  • chart_engine

    Chart generator with interchangeable chart engines like ChartJS and ApexCharts.