simple_icons 10.1.3 simple_icons: ^10.1.3 copied to clipboard
The Simple Icon pack available as Flutter Icons. Provides over 1500 Free SVG icons for popular brands.
import 'package:flutter/material.dart';
import 'package:simple_icons/simple_icons.dart';
void main() {
runApp(MyApp());
}
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return const MaterialApp(
title: 'Flutter Demo',
home: MyHomePage(),
);
}
}
class MyHomePage extends StatelessWidget {
const MyHomePage({Key? key}) : super(key: key);
@override
Widget build(BuildContext context) {
const double iconSize = 50;
return MaterialApp(
home: Scaffold(
body: SingleChildScrollView(
child: Column(
children: [
Text('Here you should see some icons'),
Icon(
Icons.calendar_month,
color: SimpleIconColors.apple,
size: iconSize,
),
Icon(
SimpleIcons.trakt,
color: SimpleIconColors.trakt,
size: iconSize,
),
Icon(
SimpleIcons.themoviedatabase,
color: Colors.blue,
size: iconSize,
),
Icon(
SimpleIcons.imdb,
color: SimpleIconColors.imdb,
size: iconSize,
),
],
),
)),
);
}
}