svg_pic_editor 3.2.3
svg_pic_editor: ^3.2.3 copied to clipboard
A Flutter package for SVG editing and manipulation across multiple platforms.
Changelog #
[3.2.0] #
Improvements #
- Refined the
onTap
functionality, now supporting both void and modified SVG string returns for better flexibility. - Enhanced error handling in the
SvgPicEditor
widget, ensuring smoother user experience when errors occur. - Updated the
modifiedSvgString
update logic to improve the reactivity and ensure faster rendering.
New Features #
- Introduced the
onTap
callback function, allowing users to trigger actions when the SVG is tapped, either with the modified SVG string or without any return value. - Added shimmer effect loading for a smoother experience when the SVG is being processed.
Fixes #
- Corrected a potential issue with the SVG string processing, improving the integrity of the final modified output.
- Minor optimizations in the way SVG parts are loaded for performance improvements.
Notes #
- This update focuses on improving the interactivity and error resilience of the
SvgPicEditor
, alongside optimizing the performance during SVG manipulation and loading. - Users are encouraged to explore the new
onTap
functionality to enhance user interactivity with SVG elements.
[3.0.0] #
Improvements #
- Enhanced the search system with improved query handling for better performance and flexibility.
- Refined the
listemEdit
functionality, which now returns the SVG string whenever an element is edited, including support for nullable attributes. - Introduced the
getColors
function that returns aSvgColorElement
, containing two attributes: one for the color and another for a list of associatedSvgElement
elements. - Renamed the
ElementSvg
class toElementEdit
to better reflect its new functionality.
New Features #
- Added the
listemEdit
function, which provides real-time SVG string updates when elements are modified. - Introduced
getColors
function to facilitate easier extraction and modification of colors within an SVG.
Notes #
- This update focuses on enhancing the search functionality, adding new element editing features, and improving the handling of colors in SVG elements.
- The renaming of
ElementSvg
toElementEdit
reflects a more appropriate naming convention after the recent changes. - Users are encouraged to try the new
listemEdit
andgetColors
functionalities to streamline their workflows.
[2.0.1] #
[2.0.0] #
Improvements #
- Refined the
queryAdvanced
function to boost performance and readability. - Enhanced querying capabilities with simplified attribute handling and more efficient filtering logic.
- Optimized XML element filtering to increase execution speed.
New Features #
- Added an animation extension to
SvgPicEditor
, offering ready-to-use and customizable animations.
Notes #
- This update focuses on improving user experience with faster and more efficient XML querying.
- Users are encouraged to explore the new querying capabilities and the animation extension to ensure they meet their needs.
[1.2.0] #
Added #
- Support added for multiple platforms (Android, iOS, Web, Windows, macOS, Linux).
- Adjustments to the homepage for better presentation and documentation.
- New folder structure to facilitate code maintenance and navigation within the project.
Fixes #
- Removed deprecated color property in SvgPicture.
- Adjustments to dependencies to support the new platforms.
- Updated examples in the README to reflect recent changes.
Notes #
- This version includes significant improvements in project structure and user experience.
- Multi-platform support allows for broader reach and better compatibility.
- We recommend users test the functionalities on all supported platforms to ensure a consistent experience.
[1.1.3] #
[1.1.2] #
[1.1.1] #
[1.1.0] #
Added #
- Initial implementation of SvgPicEditor.
- Support for loading SVG from assets, URLs, and strings.
- ElementSvg class for modifying SVG elements.
- Usage examples in the README.
- Shimmer effect loading implementation while SVG is being processed.
- Improved SVG cleanup method for better compatibility.
Fixes #
- Adjusted factory methods in SvgPicEditor; the first argument is now automatically the context.
- Updated README examples to reflect recent changes.
- Fixed color naming convention to color.
- Code review to eliminate redundancies and improve maintainability.
- Performance optimizations for SVG loading.
- Improved error handling during loading.
Notes #
- This is the 1.1.0 release and may contain bugs or limitations.
- Enhanced user experience during SVG loading.
- General improvements in code quality and documentation.