Flutter SVGL
Flutter SVGL is an open-source Flutter package that provides a collection of high-quality branded SVG logos as ready-to-use Flutter widgets.
This package is powered by the official pheralb/svgl repository, which maintains a wide range of SVG logos for various brands and organizations.
Remember to request permission from the creators for the use of the SVG. Modification is not allowed.
✨ Features
-
x
Pre-built SVG Logo Widgets -Access branded logos easily via simple static getters (e.g., SVGL.Figma). -
x
Easy Integration - No need to manage SVG assets manually—just import and use. -
x
Scalable & Customizable -Pass optionalwidth
,height
, andcolorFilter
parameters to adjust logo dynamically.
🚀 Getting Started
dependencies:
flutter_svgl: ^0.1.0
🎯 Usage
Import the package:
import 'package:flutter_svgl/flutter_svgl.dart';
Example
import 'package:flutter/material.dart';
import 'package:flutter_svgl/flutter_svgl.dart';
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return MaterialApp(
home: Scaffold(
appBar: AppBar(title: Text('Flutter SVGL Example')),
body: Center(
child: SVGL.ai.midday(width: 100, height: 100, colorFilter: ColorFilter.mode(Colors.blue, BlendMode.srcIn)),
),
),
);
}
}
📦 Available Logos
The list of available logos is extensive. You can find the complete list on the official svgl website.
Example usage for popular brands:
SVGL.ai.midday();
SVGL.ai.anthropic();
SVGL.ai.basewell();
🧑💻 Contributing We welcome contributions! Here’s how you can help:
- Add new logos from pheralb/svgl
- Improve customization options
- Submit issues or pull requests