Git Product home page Git Product logo

flutter_icons's Introduction

flutter_icons

A program to show and search the flutter icons, about 8825 in all, from the the flutter/src/material/icons.dart class. It allows you to filter the icons based on the icon name. For example, you can start typing "visibi" and Icons.visibility, visibility_off, visibility_off_outlined, visibility_off_rounded, visibility_off_sharp, visibility_outlined, visibility_rounded, visibility_sharp will be displayed.

When you move your mouse over the icon it shows it's name as a tooltip. If you click the icon, it will show it's name in the search field so you can copy the name.

Build and run

Run the app with the following

flutter run -d windows
flutter run -d macos

Windows EXE

If you want to build an exe, use the following and grab the exe from

C:> flutter build windows
Building Windows application...                                    48.8s
โˆš  Built build\windows\runner\Release\flutter_icons.exe (0.1MB).

You will need the executable, dlls, data folder, and Visual C++ redistributables.

The Flutter executable can be found in your project under build\windows\runner\release.

release
|   flutter_icons.exe
|   flutter_windows.dll
|
\---data

Generating the list of icons

The following will get a list of all flutter icons. You shouldn't need to regenerate the file, unless flutter changes the icons.

If you want to regenerate the list, you will need, grep, sed and php.

Depending if you are on Windows or Linux, run one of the greps below. The run the php script.

grep "static const IconData" C:\util\flutter\packages\flutter\lib\src\material\icons.dart | sed s"/.*static const IconData //" | sed "s/ =.*//" | sort > iconnames.txt
grep "static const IconData" ~/snap/flutter/common/flutter/packages/flutter/lib/src/material/icons.dart | sed s"/.*static const IconData //" | sed "s/ =.*//" | sort > iconnames.txt
php icons.php > lib/icon_info.dart

flutter_icons's People

Contributors

abathur8bit avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.