Skip to content

OPENER-next/temaki_flutter

Repository files navigation

Temaki icons for Flutter

This package brings the fabulous Temaki icon set to Flutter. The icons are particularly useful for representing different types of points of interest.

Usage

Visit the temaki icon overview page to explore all available icons.

Use the TemakiIcons class to get the desired icon, like so:

TemakiIcons.ICON_NAME_HERE;

You can also visit the original documentation for a better overview: https://ideditor.github.io/temaki/docs/ Just keep in mind that it might show newly added icons that aren't yet available in the package. Also names are provided in snake_case there while this package uses lowerCamelCase.

Working principle

The icon font and dart code of this package is generated by a GitHub workflow.

  • icon font is generated using the npm package Fantasticon
  • dart code is generated via build_runner in conjunction with a custom Builder that can be found in builder/icon_class_generator.dart

In order to update the icons of this package to the latest Temaki release, first the TEMAKI_VERSION_TAG in the generate_icon_font.yml workflow needs to be updated. Then the workflow has to be manually executed via the GitHub actions page. This should automatically generate the new files and directly commit them to this repository. Done 🥳