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.
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.
- image_cropper
A Flutter plugin for Android, iOS and Web supports cropping images
84Compare - fc_native_image_resize
A Flutter plugin to resize images via native APIs.
69Compare - croppy
A fully customizable image cropper for Flutter. Mobile-first, but supports Web and Desktop platforms.
65Compare - simple_native_image_compress
Native image compression library supporting Windows, Linux, Android, iOS, and macOS.
48Compare
Works with
Packages commonly used together with flutter_image_map: ones it builds on, ones built on it, and its own family.