Repository: flutter
Issue: Custom icons alignment is inconsistent between iOS and Android
Labels: platform-android,framework,engine,platform-web,e: web_canvaskit,has reproducible steps,P2,found in release: 2.10,found in release: 2.11,team-engine,triaged-engine

The icon font baseline is different between iOS and Android, creating an inconsistent behaviour between these platforms. Specifically, the Android icon is misaligned.

| ios | android | 
| -- | -- | 
| <img src="https://user-images.githubusercontent.com/10003040/155090554-c7d6b2f6-2588-4a2a-ba91-95bff76fa7ca.png" width="200" height="auto"> | <img src="https://user-images.githubusercontent.com/10003040/155090589-a492eeaf-a6b4-41a7-b1c1-d3a3df7ee268.png" width="200" height="auto"> |

This is the example project containing the icon font.
[icon_test.zip](https://github.com/flutter/flutter/files/8114878/icon_test.zip)

### Steps to reproduce
```
    return const Center(
      child: Icon(
        UiIcons.checkmark_circle,
        size: 200,
      ),
    );
```

The misalignment seems to be related to the `SizedBox` inside the `Icon` widget, since wrapping a simple `Text` inside a `SizedBox` with the same height of the `Text` size causes a misalignment to the label and since removing the `SizedBox` from the `Icon` fixes the problem.

```
[✓] Flutter (Channel stable, 2.10.2, on macOS 12.1 21C52 darwin-x64, locale en-IT)
    • Flutter version 2.10.2 at /Users/mciannavei/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 097d3313d8 (3 days ago), 2022-02-18 19:33:08 -0600
    • Engine revision a83ed0e5e3
    • Dart version 2.16.1
    • DevTools version 2.9.2

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /Users/mciannavei/Library/Android/sdk
    • Platform android-31, build-tools 31.0.0
    • ANDROID_HOME = /Users/mciannavei/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.11+0-b60-7590822)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 13.0)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • CocoaPods version 1.11.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2021.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 11.0.11+0-b60-7590822)

[✓] VS Code (version 1.64.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.34.0

[✓] Connected device (4 available)
    • sdk gphone64 x86 64 (mobile) • emulator-5556                            • android-x64    • Android 12 (API 31) (emulator)
    • iPad di Matteo (mobile)      • 9cbe715e4d9a7ce865b366c0fc4483071a7af3e3 • ios            • iOS 12.5.5 16H62
    • iPhone 8 (mobile)            • 2B15CA33-6619-46F7-8B5C-BB8352239A79     • ios            • com.apple.CoreSimulator.SimRuntime.iOS-15-0 (simulator)
    • Chrome (web)                 • chrome                                   • web-javascript • Google Chrome 98.0.4758.102

[✓] HTTP Host Availability
    • All required HTTP hosts are available

• No issues found!
```