Skip to content
pubscout

flutter_image_map

1.0.1, released 3 years ago by flutter.jiayizhang.me

Create clickable HTML-style image map areas with customizable colors on images.

WASM-ready
$ flutter pub add flutter_image_map
Source repository

What it does

Implements the HTML image map standard in Flutter, allowing developers to define hot areas on images using coordinates. Users can tap or click these interactive regions to trigger responses.

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

Use it when

  • You need to make specific regions of an image interactive like an HTML image map.
  • You want to render clickable polygons or areas over an image.

Skip it when

  • You only need standard image loading without interactive regions.
  • You need complex vector graphics manipulation not based on coordinate mapping.

Strengths

  • Implements standard HTML image map behavior in Flutter.
  • Supports customizable colors for areas.
  • Compatible with output from common image map tools like image-map.net.

Weaknesses

  • Limited feature set focused solely on image mapping.
  • Relies on external tools or coordinate definitions to build regions.

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
1
ImageMap(image: Image.network('...'), areas: [...])

Alternatives

Packages that do the same job and could replace flutter_image_map.

Works with

Packages commonly used together with flutter_image_map: ones it builds on, ones built on it, and its own family.