Skip to content

Conversation

Potatomonsta
Copy link
Contributor

StacImage support for SVG images fetched via network or assets or from files

Description

  • Added support for SVG in StacImage
  • Added Flutter SVG package to pubspec.yaml
  • Updated StacImageParser to use SvgPicture if the source is an SVG file
  • Added usage example to Stac Gallery app

Related Issues

Closes #267

Type of Change

  • New feature (non-breaking change which adds functionality)
  • Bug fix (non-breaking change which fixes an issue)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Code refactor
  • Build configuration change
  • Documentation
  • Chore

@CLAassistant
Copy link

CLAassistant commented May 29, 2025

CLA assistant check
All committers have signed the CLA.

@Potatomonsta Potatomonsta force-pushed the ImageFlutterSVGSupport branch 2 times, most recently from 3928f1c to ced95e2 Compare May 29, 2025 11:47
@divyanshub024 divyanshub024 changed the title Added support for SVG files in StacImage feat: Added support for SVG files in StacImage May 29, 2025
@divyanshub024
Copy link
Member

@Potatomonsta There are some formatting issues. Can you please check? Run dart format . to reproduce.

@Potatomonsta Potatomonsta force-pushed the ImageFlutterSVGSupport branch from ced95e2 to 1477c20 Compare May 29, 2025 13:36
@Potatomonsta
Copy link
Contributor Author

@divyanshub024 fixed formatting

StacImage can now handle SVG images fetched via network or assets or from files
@Potatomonsta Potatomonsta force-pushed the ImageFlutterSVGSupport branch from b30cec2 to 698fbfc Compare May 29, 2025 16:49
@divyanshub024 divyanshub024 merged commit 60d34fc into StacDev:dev May 29, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants