flutter_svgl 1.2.0
flutter_svgl: ^1.2.0 copied to clipboard
Flutter SVGL is an open-source Flutter package that provides a collection of high-quality branded SVG logos as ready-to-use Flutter widgets.
import 'package:flutter/material.dart';
import 'package:flutter_svgl/flutter_svgl.dart';
void main() {
runApp(const MyApp());
}
class MyApp extends StatelessWidget {
const MyApp({super.key});
@override
Widget build(BuildContext context) {
return MaterialApp(
title: 'Flutter Demo',
theme: ThemeData(
colorScheme: ColorScheme.fromSeed(seedColor: Colors.deepPurple),
),
home: const MyHomePage(title: 'Flutter SVGL Demo'),
);
}
}
class MyHomePage extends StatelessWidget {
const MyHomePage({super.key, required this.title});
final String title;
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
backgroundColor: Theme.of(context).colorScheme.inversePrimary,
title: Text(title),
),
body: Column(
children: [
SVGL.ai.midday(),
SVGL.ai.anthropic(),
SVGL.ai.basewell(),
SVGL.google.googleClassroom(),
],
),
);
}
}