storkly_icons 0.2.4
storkly_icons: ^0.2.4 copied to clipboard
Soft, rounded, stroke-based SVG icon set for the Storkly baby and family app — 49 currentColor icons that tint to your theme.
example/lib/main.dart
import 'package:flutter/material.dart';
import 'package:storkly_icons/storkly_icons.dart';
void main() => runApp(const StorklyIconsExampleApp());
class StorklyIconsExampleApp extends StatelessWidget {
const StorklyIconsExampleApp({super.key});
@override
Widget build(BuildContext context) {
return MaterialApp(
title: 'Storkly Icons',
theme: ThemeData(
colorSchemeSeed: const Color(0xFF6F42C1),
useMaterial3: true,
),
home: const _GalleryPage(),
);
}
}
class _GalleryPage extends StatelessWidget {
const _GalleryPage();
@override
Widget build(BuildContext context) {
final color = Theme.of(context).colorScheme.primary;
return Scaffold(
appBar: AppBar(title: const Text('Storkly Icons')),
body: GridView.builder(
padding: const EdgeInsets.all(16),
gridDelegate: const SliverGridDelegateWithFixedCrossAxisCount(
crossAxisCount: 4,
mainAxisSpacing: 12,
crossAxisSpacing: 12,
childAspectRatio: 0.85,
),
itemCount: StorklyIcons.values.length,
itemBuilder: (context, index) {
final icon = StorklyIcons.values[index];
return Column(
mainAxisAlignment: MainAxisAlignment.center,
children: [
StorklyIcon(icon, size: 36, color: color),
const SizedBox(height: 8),
Text(
icon.name,
style: Theme.of(context).textTheme.bodySmall,
textAlign: TextAlign.center,
overflow: TextOverflow.ellipsis,
),
],
);
},
),
);
}
}