flutty_heroicons 1.0.2 copy "flutty_heroicons: ^1.0.2" to clipboard
flutty_heroicons: ^1.0.2 copied to clipboard

A Flutter port of HeroIcons — beautiful hand-crafted SVG icons by Tailwind, packaged for use with IconData.

Flutty HeroIcons Port #

pub package

A Flutter port of HeroIcons.
Includes Solid and Outline variants, exposed as IconData pairs through the HeroIcons API.


🚀 Installation #

Add to your pubspec.yaml:

dependencies:
  flutty_heroicons: ^1.0.2

🎨 Usage #

Import the package:

import 'package:flutty_heroicons/heroicons.dart';
import 'package:flutter/material.dart';

class Example extends StatelessWidget {
  const Example({super.key});

  @override
  Widget build(BuildContext context) {
    return const Row(
      mainAxisAlignment: MainAxisAlignment.center,
      children: [
        Icon(
          HeroIcons.academicCap.solid,
          size: 32,
          color: Colors.blue,
        ),
        SizedBox(width: 16),
        Icon(
          HeroIcons.academicCap.outline,
          size: 32,
          color: Colors.red,
        ),
      ],
    );
  }
}

Switching dynamically #

Icon(
  HeroIcons.academicCap.resolve(HeroIconStyle.outline),
  size: 28,
  color: Colors.green,
);

📝 License #

This package bundles the HeroIcons project by Tailwind Labs.
HeroIcons are licensed under the MIT License.

0
likes
0
points
45
downloads

Publisher

unverified uploader

Weekly Downloads

A Flutter port of HeroIcons — beautiful hand-crafted SVG icons by Tailwind, packaged for use with IconData.

Homepage
Repository (GitHub)
View/report issues

Topics

#icons #heroicons #flutter-ui #design #tailwind

License

unknown (license)

Dependencies

flutter

More

Packages that depend on flutty_heroicons