Last updated:
0 purchases
icon broken
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
copied to clipboard
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);
copied to clipboard
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),
);
}
}
copied to clipboard
Additional information #
convert icon.ttf to icons used in flutter projects
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.