image_marker_viewer 1.0.3
image_marker_viewer: ^1.0.3 copied to clipboard
A Flutter package for adding interactive markers on images with custom colors, titles, and notes. Supports web, mobile, and desktop platforms.
1.0.3 #
- Dual Photo Storage: Added
photosNamefield to store photo file names alongside base64 dataphotos: Base64 encoded image strings (for UI display)photosName: Photo file names (for JSON export and reference)- Both fields are synchronized when adding/removing photos
- Backward compatible: Existing markers without
photosNamewill continue to work
- Enhanced Photo Picker:
PhotoPickerServicenow returns both base64 data and file name - Improved Data Management: Photos are stored with both visual data and file names for better flexibility
1.0.2 #
- Major Refactoring: Complete codebase restructured following SOLID principles
- Performance Optimization: Each marker now manages its own state independently, reducing unnecessary rebuilds
- Modular Architecture: Code split into separate, maintainable modules:
MarkerWidget: Individual marker widget with isolated state managementColorPickerWidget: Reusable color selection componentPhotoListWidget: Photo management componentAddMarkerDialog&EditMarkerDialog: Separate dialog widgetsPhotoPickerService: Platform-independent photo picking serviceColorUtils: Utility functions for color operations
- Improved Documentation: Added comprehensive DartDoc comments throughout the codebase
- Bug Fixes: Fixed marker dragging/positioning issues for stable marker movement
- Code Quality: Enhanced error handling with index bounds checking
- Backward Compatible: All existing APIs remain unchanged
1.0.1 #
- Added support for multiple images with separate marker lists
- Added
tagparameter to ImageMarkerViewer for image-specific controllers - Added
controllerparameter to ImageMarkerViewer for external controller management - Each image can now have its own independent marker list
- Improved controller management with GetX tag system
- Backward compatible with existing code (tag parameter is optional)
1.0.0 #
- Initial release
- Interactive markers on images
- Custom colors with predefined and RGB color picker
- Title and note support for markers
- Tap to edit, long press to delete markers
- Export/Import markers to/from JSON
- Cross-platform support (web, iOS, Android, macOS, Linux, Windows)
- Responsive marker positioning