adwaita_icons 0.1.0 adwaita_icons: ^0.1.0 copied to clipboard
Package that contains all icons built for the Adwaita Theme.
import 'package:adwaita_icons/adwaita_icons.dart';
import 'package:example/icon_library.dart';
import 'package:flutter/material.dart';
void main() {
runApp(MyApp());
}
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return MaterialApp(
title: 'adwaita_icons',
home: MyHomePage(),
);
}
}
class MyHomePage extends StatelessWidget {
@override
Widget build(BuildContext context) {
return Scaffold(
body: GridView.count(
crossAxisCount: 16,
crossAxisSpacing: 8,
mainAxisSpacing: 8,
children: [
for (final icon in adwaitaIconPaths) AdwaitaIcon(icon),
],
),
);
}
}