-
Notifications
You must be signed in to change notification settings - Fork 27.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Material icons alternative styles are missing #73223
Comments
i also discovered that if i download these icons from the https://material.io/resources/icons/ as svg, they will look the same too |
Hi @nt4f04uNd flutter doctor -v[✓] Flutter (Channel stable, 1.22.5, on macOS 11.1 20C69 darwin-x64, locale en-GB)
• Flutter version 1.22.5 at /Users/tahatesser/Code/flutter_stable
• Framework revision 7891006299 (4 weeks ago), 2020-12-10 11:54:40 -0800
• Engine revision ae90085a84
• Dart version 2.10.4
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
• Android SDK at /Volumes/Extreme/sdk
• Platform android-30, build-tools 30.0.3
• ANDROID_HOME = /Volumes/Extreme/sdk
• Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 12.3)
• Xcode at /Volumes/Extreme/Xcode.app/Contents/Developer
• Xcode 12.3, Build version 12C33
• CocoaPods version 1.10.0
[!] Android Studio (version 4.1)
• Android Studio at /Applications/Android Studio.app/Contents
✗ Flutter plugin not installed; this adds Flutter specific functionality.
✗ Dart plugin not installed; this adds Dart specific functionality.
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
[✓] VS Code (version 1.52.1)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.18.0
[✓] Connected device (2 available)
• RMX2001 (mobile) • EUYTFEUSQSRGDA6D • android-arm64 • Android 10 (API 29)
• Taha’s iPad (mobile) • 00008020-000255113EE8402E • ios • iOS 14.3
! Error: Taha’s iPad is busy: Copying cache files from device. Xcode will continue when Taha’s iPad is finished. (code -10)
! Doctor found issues in 1 category. [✓] Flutter (Channel beta, 1.25.0-8.1.pre, on macOS 11.1 20C69 darwin-x64, locale en-GB)
• Flutter version 1.25.0-8.1.pre at /Users/tahatesser/Code/flutter_beta
• Framework revision 8f89f6505b (3 weeks ago), 2020-12-15 15:07:52 -0800
• Engine revision 92ae191c17
• Dart version 2.12.0 (build 2.12.0-133.2.beta)
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
• Android SDK at /Volumes/Extreme/sdk
• Platform android-30, build-tools 30.0.3
• ANDROID_HOME = /Volumes/Extreme/sdk
• Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 12.3)
• Xcode at /Volumes/Extreme/Xcode.app/Contents/Developer
• Xcode 12.3, Build version 12C33
• CocoaPods version 1.10.0
[✓] Chrome - develop for the web
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[✓] Android Studio (version 4.1)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
[✓] VS Code (version 1.52.1)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.18.0
[✓] Connected device (3 available)
• RMX2001 (mobile) • EUYTFEUSQSRGDA6D • android-arm64 • Android 10 (API 29)
• Taha’s iPad (mobile) • 00008020-000255113EE8402E • ios • iOS 14.3
• Chrome (web) • chrome • web-javascript • Google Chrome 87.0.4280.88
! Error: Taha’s iPad is busy: Copying cache files from device. Xcode will continue when Taha’s iPad is finished. (code -10)
• No issues found! [✓] Flutter (Channel dev, 1.26.0-1.0.pre, on macOS 11.1 20C69 darwin-x64, locale en-GB)
• Flutter version 1.26.0-1.0.pre at /Users/tahatesser/Code/flutter_dev
• Framework revision 63062a6443 (3 weeks ago), 2020-12-13 23:19:13 +0800
• Engine revision 4797b06652
• Dart version 2.12.0 (build 2.12.0-141.0.dev)
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
• Android SDK at /Volumes/Extreme/sdk
• Platform android-30, build-tools 30.0.3
• ANDROID_HOME = /Volumes/Extreme/sdk
• Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 12.3)
• Xcode at /Volumes/Extreme/Xcode.app/Contents/Developer
• Xcode 12.3, Build version 12C33
• CocoaPods version 1.10.0
[✓] Chrome - develop for the web
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[✓] Android Studio (version 4.1)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
[✓] VS Code (version 1.52.1)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.18.0
[✓] Connected device (4 available)
• RMX2001 (mobile) • EUYTFEUSQSRGDA6D • android-arm64 • Android 10 (API 29)
• Taha’s iPad (mobile) • 00008020-000255113EE8402E • ios • iOS 14.3
• macOS (desktop) • macos • darwin-x64 • macOS 11.1 20C69 darwin-x64
• Chrome (web) • chrome • web-javascript • Google Chrome 87.0.4280.88
! Error: Taha’s iPad is busy: Copying cache files from device. Xcode will continue when Taha’s iPad is finished. (code -10)
• No issues found! [✓] Flutter (Channel master, 1.26.0-2.0.pre.168, on macOS 11.1 20C69 darwin-x64, locale en-GB)
• Flutter version 1.26.0-2.0.pre.168 at /Users/tahatesser/Code/flutter_master
• Framework revision 299e017e41 (23 hours ago), 2021-01-03 06:29:01 -0500
• Engine revision 121b67fb85
• Dart version 2.12.0 (build 2.12.0-179.0.dev)
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
• Android SDK at /Volumes/Extreme/sdk
• Platform android-30, build-tools 30.0.3
• ANDROID_HOME = /Volumes/Extreme/sdk
• Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 12.3)
• Xcode at /Volumes/Extreme/Xcode.app/Contents/Developer
• Xcode 12.3, Build version 12C33
• CocoaPods version 1.10.0
[✓] Chrome - develop for the web
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[✓] Android Studio (version 4.1)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
[✓] VS Code (version 1.52.1)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.18.0
[✓] Connected device (4 available)
• RMX2001 (mobile) • EUYTFEUSQSRGDA6D • android-arm64 • Android 10 (API 29)
• Taha’s iPad (mobile) • 00008020-000255113EE8402E • ios • iOS 14.3
• macOS (desktop) • macos • darwin-x64 • macOS 11.1 20C69 darwin-x64
• Chrome (web) • chrome • web-javascript • Google Chrome 87.0.4280.88
! Error: Taha’s iPad is busy: Copying cache files from device. Xcode will continue when Taha’s iPad is finished. (code -10)
• No issues found! Thank you |
It is expected that some icons will look the same in different styles, but I'll follow up with the icons team to determine what's going on with the filled style vs others (it looks like its shrunk on material.io, but looks the same as others with svgs). For two-tone, see this comment |
@guidezpl i stumbled upon upon a few other icons that have wrong styles and decided to take one section ("content") from material icons and compare web and flutter turns out a some of icons are simply missing, and other have old rounded styles (didn't test others) flutter (filled and rounded) web (filled and rounded) code for comparisonimport 'package:flutter/material.dart';
void main() {
runApp(App());
}
class App extends StatelessWidget {
@override
Widget build(BuildContext context) {
return MaterialApp(
title: 'App',
home: Scaffold(
body: DefaultTabController(
initialIndex: 0,
length: 2,
child: TabBarView(
children: [
Center(
child: GridView.count(
shrinkWrap: true,
crossAxisCount: 12,
children: [
Icon(Icons.add),
Icon(Icons.add_box),
Icon(Icons.add_circle),
Icon(Icons.add_circle_outline),
Icon(Icons.amp_stories),
Icon(Icons.archive),
Icon(Icons.backspace),
Icon(Icons.ballot),
Icon(Icons.biotech),
Icon(Icons.block),
Icon(Icons.calculate),
Container(), // Icon(Icons.change_circle),
Icon(Icons.clear),
Icon(Icons.content_copy),
Icon(Icons.content_cut),
Icon(Icons.content_paste),
Container(), // Icon(Icons.content_paste_off),
Container(), // Icon(Icons.copy_all),
Icon(Icons.create),
Icon(Icons.delete_sweep),
Icon(Icons.drafts),
Icon(Icons.dynamic_feed),
Icon(Icons.file_copy),
Icon(Icons.filter_list),
Icon(Icons.flag),
Icon(Icons.font_download),
Container(), // Icon(Icons.font_download_off),
Icon(Icons.forward),
Icon(Icons.gesture),
Icon(Icons.how_to_reg),
Icon(Icons.how_to_vote),
Icon(Icons.inbox),
Icon(Icons.insights),
Container(), // Icon(Icons.inventory_2),
Icon(Icons.link),
Icon(Icons.link_off),
Icon(Icons.low_priority),
Icon(Icons.mail),
Icon(Icons.markunread),
Icon(Icons.move_to_inbox),
Icon(Icons.next_week),
Icon(Icons.outlined_flag),
Icon(Icons.policy),
Icon(Icons.push_pin),
Icon(Icons.redo),
Icon(Icons.remove),
Icon(Icons.remove_circle),
Icon(Icons.remove_circle_outline),
Icon(Icons.reply),
Icon(Icons.reply_all),
Icon(Icons.report),
Icon(Icons.report_off),
Icon(Icons.save),
Icon(Icons.save_alt),
Icon(Icons.select_all),
Icon(Icons.send),
Icon(Icons.sort),
Icon(Icons.square_foot),
Icon(Icons.text_format),
Icon(Icons.unarchive),
Icon(Icons.undo),
Icon(Icons.waves),
Icon(Icons.weekend),
Icon(Icons.where_to_vote),
],
),
),
Center(
child: GridView.count(
shrinkWrap: true,
crossAxisCount: 12,
children: [
Icon(Icons.add_rounded),
Icon(Icons.add_box_rounded),
Icon(Icons.add_circle_rounded),
Icon(Icons.add_circle_outline_rounded),
Icon(Icons.amp_stories_rounded),
Icon(Icons.archive_rounded),
Icon(Icons.backspace_rounded),
Icon(Icons.ballot_rounded),
Icon(Icons.biotech_rounded),
Icon(Icons.block_rounded),
Icon(Icons.calculate_rounded),
Container(), // Icon(Icons.change_circle_rounded),
Icon(Icons.clear_rounded),
Icon(Icons.content_copy_rounded),
Icon(Icons.content_cut_rounded),
Icon(Icons.content_paste_rounded),
Container(), // Icon(Icons.content_paste_off_rounded),
Container(), // Icon(Icons.copy_all_rounded),
Icon(Icons.create_rounded),
Icon(Icons.delete_sweep_rounded),
Icon(Icons.drafts_rounded),
Icon(Icons.dynamic_feed_rounded),
Icon(Icons.file_copy_rounded),
Icon(Icons.filter_list_rounded),
Icon(Icons.flag_rounded),
Icon(Icons.font_download_rounded),
Container(), // Icon(Icons.font_download_off_rounded),
Icon(Icons.forward_rounded),
Icon(Icons.gesture_rounded),
Icon(Icons.how_to_reg_rounded),
Icon(Icons.how_to_vote_rounded),
Icon(Icons.inbox_rounded),
Icon(Icons.insights_rounded),
Container(), // Icon(Icons.inventory_2_rounded),
Icon(Icons.link_rounded),
Icon(Icons.link_off_rounded),
Icon(Icons.low_priority_rounded),
Icon(Icons.mail_rounded),
Icon(Icons.markunread_rounded),
Icon(Icons.move_to_inbox_rounded),
Icon(Icons.next_week_rounded),
Icon(Icons.outlined_flag_rounded),
Icon(Icons.policy_rounded),
Icon(Icons.push_pin_rounded),
Icon(Icons.redo_rounded),
Icon(Icons.remove_rounded),
Icon(Icons.remove_circle_rounded),
Icon(Icons.remove_circle_outline_rounded),
Icon(Icons.reply_rounded),
Icon(Icons.reply_all_rounded),
Icon(Icons.report_rounded),
Icon(Icons.report_off_rounded),
Icon(Icons.save_rounded),
Icon(Icons.save_alt_rounded),
Icon(Icons.select_all_rounded),
Icon(Icons.send_rounded),
Icon(Icons.sort_rounded),
Icon(Icons.square_foot_rounded),
Icon(Icons.text_format_rounded),
Icon(Icons.unarchive_rounded),
Icon(Icons.undo_rounded),
Icon(Icons.waves_rounded),
Icon(Icons.weekend_rounded),
Icon(Icons.where_to_vote_rounded),
],
),
),
],
),
),
),
);
}
}
|
Thanks for the report! An upcoming font update should deal with the missing icons and style issue. For your general question about variants having a different look, let me get back to you |
According to #76684, |
I don't know, but https://fonts.google.com/icons was just launched so I'd go with that. I haven't forgotten about this issue, just need a few PRs to land before more work |
ok. i deleted my comment and moved it here, because it's off topic |
The style question is with the icons team (b/176798798), who will update the icons as necessary. If they are updated, so will Flutter's. #78311 will fix all of the remaining issues. |
Would you please request to update the Google Fonts package as well? It's pretty outdated 👍 |
Best thing to do would be to file an issue at https://github.com/material-foundation/google-fonts-flutter/ |
There were already some issues mentioning missing fonts.. I have posted another one that groups them all. material-foundation/flutter-packages#158 |
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of |
List of affected icons (that I discovered):
Flutter has filled and outlined styles for these icons, but missing all the other and shows them the same as filled
How it looks like
Even though in https://material.io/resources/icons/?search=paint&icon=color_lens&style=baseline
they look different
Reproducible:
flutter doctor -v
The text was updated successfully, but these errors were encountered: