svg_splitter 1.0.5
svg_splitter: ^1.0.5 copied to clipboard
A Dart tool to automatically split SVG files into static and dynamic parts for Flutter theming. Perfect for creating themed icons that change colors based on app themes.
1.0.5 #
- Fixed Windows path parsing bug that caused RangeError with backslashes
- Improved filename extraction to handle Windows paths correctly
- Added validation for empty paths and filenames
- Better handling of output directory path normalization
- Ensures output directories are created automatically
1.0.4 #
- Fixed Windows path handling bug - now correctly handles backslashes (
\) on Windows - Improved cross-platform path parsing using Dart's
FileandDirectoryAPIs - Better error handling for file paths and extensions
- Fixes
RangeErrorwhen running on Windows with paths likeassets\images\file.svg
1.0.3 #
- Improved example app UI with separate comparison screen
- Better error handling and user feedback
1.0.1 #
- Fixed GIF preview display on pub.dev (using GitHub raw URL)
- Updated documentation version references
1.0.0 #
- Initial release of SVG Splitter
- Automatic detection of dynamic colors (#DB1C42, #FF0000 by default)
- Support for custom dynamic colors via
--dynamic-colorflag - Support for custom output directory via
--output-dirflag - Help documentation with
--helpflag - Flexible SVG parsing that handles various attribute orders
- Fallback parsing for edge cases