svgl_flutter 0.0.1 copy "svgl_flutter: ^0.0.1" to clipboard
svgl_flutter: ^0.0.1 copied to clipboard

Flutter widget library for brand SVG logos powered by svgl.app.

svgl_flutter #

An open-source Flutter package that offers a collection of high-quality brand SVG logos as a simple, typed widget with complete autocomplete support.

Powered by the official pheralb/svgl repository.

Features #

  • Single Svgl widget — no class name conflicts
  • Typed logo constants via SvglLogos
  • Light and dark mode variants when available
  • Tree-shakable — only logos you use are compiled in

Installation #

dependencies:
  svgl_flutter: ^0.0.1

Or with the Flutter CLI:

flutter pub add svgl_flutter

Usage #

Visit svgl.app to browse available logos.

import 'package:svgl_flutter/svgl_flutter.dart';

// Basic usage
Svgl(logo: SvglLogos.flutter, width: 48)

// Light / dark variants
Svgl(logo: SvglLogos.appleLight, width: 32)
Svgl(logo: SvglLogos.appleDark, width: 32)

// With color filter
Svgl(
  logo: SvglLogos.github,
  width: 24,
  colorFilter: const ColorFilter.mode(Colors.white, BlendMode.srcIn),
)

Ecosystem #

License #

MIT © Gabriel Momoh

1
likes
150
points
84
downloads

Documentation

API reference

Publisher

verified publisherthegem.dev

Weekly Downloads

Flutter widget library for brand SVG logos powered by svgl.app.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

flutter, flutter_svg

More

Packages that depend on svgl_flutter