This pull request includes updates to the OsocWidget to improve the handling of SVG images and enhance the UI. The most important changes involve adding a new dependency, updating the widget to use a new SVG handling package, and making UI adjustments.
Dependency Updates:
pubspec.yaml: Added jovial_svg dependency to the project.
lib/widgets/osoc_widget.dart: Updated the OsocWidget to use ScalableImageWidget from jovial_svg for displaying SVG images, replacing the previous SvgPicture.network implementation. This includes wrapping the image in a ClipRRect with rounded corners and setting fixed dimensions.
410
This pull request includes updates to the
OsocWidget
to improve the handling of SVG images and enhance the UI. The most important changes involve adding a new dependency, updating the widget to use a new SVG handling package, and making UI adjustments.Dependency Updates:
pubspec.yaml
: Addedjovial_svg
dependency to the project.Widget Updates:
lib/widgets/osoc_widget.dart
: Imported thejovial_svg
package.lib/widgets/osoc_widget.dart
: Updated theOsocWidget
to useScalableImageWidget
fromjovial_svg
for displaying SVG images, replacing the previousSvgPicture.network
implementation. This includes wrapping the image in aClipRRect
with rounded corners and setting fixed dimensions.Screenshot
https://github.com/user-attachments/assets/2c8d49b9-c333-4aef-9daa-b6bf269dcb66