commit | 1e5b25be8caa17d6d76c6f5a4abb524c8454e9fc | [log] [tgz] |
---|---|---|
author | Adam Barth <abarth@chromium.org> | Wed Oct 28 07:26:09 2015 -0700 |
committer | Adam Barth <abarth@chromium.org> | Wed Oct 28 08:55:49 2015 -0700 |
tree | 90053e8473cd100c97538e50dee05213df1dcbfa | |
parent | b7436de2742462197a1ffc566e0336dc297acf9d [diff] |
Icon should use an enum rather than an int for size Material design icons are defined to work at specific sizes: 18, 24, 36, 48. The current API doesn't reflect that and just takes a size int. If an invalid size is chosen an error is printed to the console and no icon shows up. Fixes #1816
Flutter is a new way to build high-performance, cross-platform mobile apps. Flutter is optimized for today‘s, and tomorrow’s, mobile devices. We are focused on low-latency input and high frame rates on Android and iOS.
For information about using Flutter to build apps, please see the getting started guide.
For information about contributing code to Flutter itself, please see CONTRIBUTING.md.
Join us on IRC at #flutter
on Freenode or join our mailing list, flutter-dev@googlegroups.com.