Skip to content

HanySameh/IconBrokenPackage

Repository files navigation

IconBroken v1.1.0

license

beautiful icons to use in your next project

icon1

icons2

Getting started and installing

first add dependance: in terminal:

$ flutter pub add icon_broken

in pubspec.yaml add this line in dependencies (pubspec.yaml and pub get) :

dependencies:
  icon_broken: ^1.1.0

Import it in your file:

Now in your Dart code, you can use:

import 'package:icon_broken/icon_broken.dart';

Usage

const IconData icon = Icon(IconBroken.IconName);

Example

import 'package:flutter/material.dart';
import 'package:icon_broken/icon_broken.dart';

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

  @override
  Widget build(BuildContext context) {
    return const Center(
      child: Icon(IconBroken.Heart),
    );
  }
}

Additional information

convert icon.ttf to icons used in flutter projects