Skip to content
EnsinsM edited this page Jan 27, 2022 · 2 revisions

Welcome to the basf_flutter_components wiki!

Custom Icons

To generate custom icons we are using FlutterIcons.

Generation

  • Whenever we export the icons we should use snake case and place the generated files in the corresponding location:
    • app_icons_icons.dart should be renamed and moved into lib/presentation/widgets/icons.dart.
    • config.json should go into assets/.x
    • BasfIcons.ttf should go into assets/fonts/.

Using it

Afterwards we can just access our custom icons by simply typing BasfIcons.whateverIcon.

⚠️ Important

Remember to add all new .svg's icons files to assets/icons_svgs/.

Clone this wiki locally