food_icons 0.0.5 copy "food_icons: ^0.0.5" to clipboard
food_icons: ^0.0.5 copied to clipboard

A new Flutter package project.

A food icon library

Usage #

add Food.ttf font to pubspec.yaml

flutter:
  fonts:
   - family:  Food
     fonts:
      - asset: packages/food_icons/Food.ttf
copied to clipboard

use a static icon

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Icon(FoodIcons.oven);
  }
}
copied to clipboard

find an icon by name

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Icon(FoodIcons.getIcon('bowl'));
  }
}
copied to clipboard
4
likes
130
points
41
downloads

Publisher

unverified uploader

Weekly Downloads

2024.09.10 - 2025.03.25

A new Flutter package project.

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on food_icons