Skip to content

Cupertino Icons draws the wrong icon that you selected in the code #72237

@gorkovv

Description

@gorkovv

Steps to Reproduce

Selecting an icon from the library CupertinoIcons
Icon(CupertinoIcons.text_cursor, size: 16)
The icon is displayed correctly in the code editor:

Снимок экрана от 2020-12-13 13-11-42

In the app, the icon is not the same, but the one next to it.

Снимок экрана от 2020-12-13 20-01-09

Снимок экрана от 2020-12-13 19-14-19

If I choose in the code CupertinoIcons.text_bubble_fill then I'll get it in the app CupertinoIcons.text_cursor

But not all icons behave this way. Some are displayed correctly.

Library version:
cupertino_icons: ^1.0.1+1

Logs

##flutter doctor -v

[✓] Flutter (Channel dev, 1.25.0-8.0.pre, on Linux, locale ru_RU.UTF-8)
• Flutter version 1.25.0-8.0.pre at /home/gorkov/flutter
• Framework revision a12e2a4 (4 дня назад), 2020-12-08 23:13:04 -0500
• Engine revision df39e5c
• Dart version 2.12.0 (build 2.12.0-133.0.dev)

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
• Android SDK at /home/gorkov/Android/Sdk
• Platform android-29, build-tools 29.0.2
• Java binary at: /home/gorkov/android-studio/jre/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)
• All Android licenses accepted.

[✓] Android Studio
• Android Studio at /home/gorkov/android-studio
• 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-6222593)

[✓] VS Code (version 1.52.0)
• VS Code at /usr/share/code
• Flutter extension version 3.17.0

[✓] Connected device (1 available)
• Android SDK built for x86 (mobile) • emulator-5554 • android-x86 • Android 7.0 (API 24)
(emulator)

• No issues found!

Metadata

Metadata

Assignees

Labels

P1High-priority issues at the top of the work listc: regressionIt was better in the past than it is nowf: cupertinoflutter/packages/flutter/cupertino repositoryfound in release: 1.25Found to occur in 1.25frameworkflutter/packages/flutter repository. See also f: labels.has reproducible stepsThe issue has been confirmed reproducible and is ready to work on

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions