icon_broken 1.1.0 icon_broken: ^1.1.0 copied to clipboard
A package that helps you add more beautiful icons to your next project in flutter
IconBroken v1.1.0 #
beautiful icons to use in your next project
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