svg_splitter 1.0.5 copy "svg_splitter: ^1.0.5" to clipboard
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 File and Directory APIs
  • Better error handling for file paths and extensions
  • Fixes RangeError when running on Windows with paths like assets\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-color flag
  • Support for custom output directory via --output-dir flag
  • Help documentation with --help flag
  • Flexible SVG parsing that handles various attribute orders
  • Fallback parsing for edge cases
3
likes
150
points
324
downloads

Publisher

unverified uploader

Weekly Downloads

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.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

More

Packages that depend on svg_splitter