prithbrokenicons 1.0.0 copy "prithbrokenicons: ^1.0.0" to clipboard
prithbrokenicons: ^1.0.0 copied to clipboard

retracted

A complete Broken Icons icon set for Flutter: 900+ outline icons plus filled variants, exposed as compile-time const IconData constants via a custom TTF font. Zero runtime dependencies — works on all [...]

prith_broken_icons #

pub package

A complete Broken Icons icon set packaged as a Flutter icon library (PrithBrokenIcons-class), ready to use across all 6 Flutter platforms.

Platforms Supported #

This icon package works on all 6 Flutter target platforms:

Platform Supported
Android ✅
iOS ✅
Web ✅
Windows ✅
macOS ✅
Linux ✅

Because it is built purely on Flutter's built-in IconData + custom TTF font assets, it renders identically on every platform with no native code or plugin dependencies.

Features #

  • 904 outline icons + 2 filled icons covering a wide range of UI/UX needs
  • Two font families: broken (outline) and broken_filled (filled)
  • Zero runtime dependencies — just the built-in flutter/widgets.dart
  • Lightweight custom TTF fonts
  • const-friendly IconData constants for compile-time safety
  • Cross-platform consistent rendering

Project Structure #

prithbrokenicons/
├── lib/
│   ├── prithbrokenicons.dart        # Barrel export (recommended import)
│   └── prith_broken_icons.dart      # The icon library (PrithBrokenIcons class)
├── fonts/
│   ├── broken.ttf                   # Outline icon font family "broken"
│   └── broken_filled.ttf            # Filled icon font family "broken_filled"
└── pubspec.yaml

Getting Started #

1. Add the dependency #

Add prithbrokenicons to your pubspec.yaml:

dependencies:
  prithbrokenicons: ^1.0.0

Then run:

flutter pub get

2. Usage in your code #

Import the icon library (you can use either import path below):

import 'package:prithbrokenicons/prithbrokenicons.dart';
// or
import 'package:prithbrokenicons/prith_broken_icons.dart';

Then use icons anywhere in your widgets:

// Basic usage
Icon(PrithBrokenIcons.home)

// With size and color
Icon(
  PrithBrokenIcons.settings,
  size: 32,
  color: Colors.deepPurple,
)

// Filled variant (like/dislike filled icons)
Icon(PrithBrokenIcons.like_filled)
Icon(PrithBrokenIcons.dislike_filled)

// Inside buttons
ElevatedButton.icon(
  onPressed: () {},
  icon: const Icon(PrithBrokenIcons.add),
  label: const Text('Add'),
)

3. Example: Icon grid #

static const List<IconData> icons = [
  PrithBrokenIcons.home,
  PrithBrokenIcons.settings,
  PrithBrokenIcons.user,
  PrithBrokenIcons.heart,
  PrithBrokenIcons.star,
  PrithBrokenIcons.wallet,
];

// Render
Icon(icons[index], size: 36)

Font Setup (pubspec.yaml) #

The fonts are already configured in pubspec.yaml. If you copy this library into another project, ensure your pubspec.yaml includes:

flutter:
  uses-material-design: true

  fonts:
    - family: broken
      fonts:
        - asset: fonts/broken.ttf
    - family: broken_filled
      fonts:
        - asset: fonts/broken_filled.ttf

Note: Adjust the asset: paths to wherever you place the .ttf files (e.g., assets/fonts/broken.ttf if you keep them under an assets/ folder).

Icon Categories #

The icon set spans a huge variety of categories, including (but not limited to):

  • Actions: add, delete, edit, save, download, upload, refresh, share
  • Arrows: up, down, left, right, swap, circle, square variants
  • Communication: message, call, chat, email, notification, bell
  • Media: music, video, play, pause, stop, camera, gallery
  • Finance: wallet, card, money, bank, receipt, coin, dollar
  • User & Profile: user, profile, people, security, lock, login, logout
  • Business & Files: document, folder, briefcase, bookmark, clipboard
  • Tech: mobile, monitor, cpu, cloud, wifi, bluetooth, data
  • Transport: car, bus, truck, airplane, ship, gas-station
  • Weather & Nature: sun, moon, cloud, snow, wind, tree
  • UI Elements: star, heart, like, menu, settings, grid, filter
  • And many more...

Naming Convention #

  • Icon constants use snake_case (e.g., PrithBrokenIcons.arrow_down)
  • Variants are suffixed with _1, _2, _3 (e.g., PrithBrokenIcons.home_1)
  • Filled versions of outline icons use the _filled suffix (e.g., like_filled)

License #

This package is released under the MIT License. See the LICENSE file for details.

Note: The underlying Broken Icons font set follows its own license — please review the font's licensing terms before redistributing it separately or using it commercially.

Resources #

1
likes
0
points
131
downloads

Publisher

unverified uploader

Weekly Downloads

A complete Broken Icons icon set for Flutter: 900+ outline icons plus filled variants, exposed as compile-time const IconData constants via a custom TTF font. Zero runtime dependencies — works on all 6 Flutter platforms.

Homepage
Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter

More

Packages that depend on prithbrokenicons