jovial_svg 1.0.1 copy "jovial_svg: ^1.0.1" to clipboard
jovial_svg: ^1.0.1 copied to clipboard

outdated

Robust rendering of SVG static images, supporting a well-defined profile of SVG and an efficient binary storage format.

example/lib/main.dart

import 'package:flutter/material.dart';
import 'package:jovial_svg/jovial_svg.dart';

void main() {
  runApp(MinimalSample());
}

///
/// A minimal sample application using `jovial_svg`.  This example lets
/// [ScalableImageWidget] handle the asynchronous loading, which is resonable
/// for a prototype.
///
class MinimalSample extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
        title: 'SVG Minimal Sample',
        home: ScalableImageWidget.fromSISource(
            si: ScalableImageSource.fromSvgHttpUrl(
                Uri.parse('https://jovial.com/images/jupiter.svg'))));
  }
}
182
likes
0
pub points
96%
popularity

Publisher

verified publisherjovial.com

Robust rendering of SVG static images, supporting a well-defined profile of SVG and an efficient binary storage format.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

args, flutter, http, jovial_misc, pedantic, quiver, vector_math, xml

More

Packages that depend on jovial_svg