textScaleFactor not working in Android.

This issue has been tracked since 2022-09-23.

hi.

I don't want to be affected by the system font size.

textScaleFactor does not work in Android, but it works in ios.

I want to know how.

[Enviroment]
MacOS - Android Studio

[webview version]
webview_flutter: ^3.0.4

[my code]

import 'package:flutter/material.dart';
import 'package:webview_flutter/webview_flutter.dart';

void main() => runApp(MyApp());

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      builder: (context, child) {
        return MediaQuery(
          data: MediaQuery.of(context).copyWith(textScaleFactor: 1),
          child: child!,
        );
      },
      title: 'Flutter Webview',
      theme: ThemeData(
        primarySwatch: Colors.blue,
      ),
      home: const MyHomePage(),
    );
  }
}

class MyHomePage extends StatelessWidget {
  const MyHomePage({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return const Scaffold(
      body: SafeArea(
        child: WebView(
          initialUrl: 'https://m.naver.com/',
          javascriptMode: JavascriptMode.unrestricted,
          gestureNavigationEnabled: true,
          userAgent: "random",
        ),
      ),
    );
  }
}

flutter doctor -v

[✓] Flutter (Channel stable, 3.3.2, on macOS 12.6 21G115 darwin-x64, locale ko)
    • Flutter version 3.3.2 on channel stable at /Users/soul/opt/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision e3c29ec00c (9 days ago), 2022-09-14 08:46:55 -0500
    • Engine revision a4ff2c53d8
    • Dart version 2.18.1
    • DevTools version 2.15.0

[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0)
    • Android SDK at /Users/soul/Library/Android/sdk
    • Platform android-33, build-tools 33.0.0
    • Java binary at: /Applications/Android
      Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build
      11.0.12+0-b1504.28-7817840)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 14.0)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 14A309
    • CocoaPods version 1.11.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2021.2)
    • 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.12+0-b1504.28-7817840)

[✓] IntelliJ IDEA Community Edition (version 2022.2.1)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • 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

[✓] VS Code (version 1.71.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.48.0

[✓] Connected device (4 available)
    • LGM V300K (mobile)         • LGMV300Kc14d5ae2                     •
      android-arm64  • Android 9 (API 28)
    • iPhone 14 Pro Max (mobile) • 39373A4E-B249-4969-BCDC-182CAA85CCA2 • ios
      • com.apple.CoreSimulator.SimRuntime.iOS-16-0 (simulator)
    • macOS (desktop)            • macos                                •
      darwin-x64     • macOS 12.6 21G115 darwin-x64
    • Chrome (web)               • chrome                               •
      web-javascript • Google Chrome 105.0.5195.125

[✓] HTTP Host Availability
    • All required HTTP hosts are available

• No issues found!

flutter run -v
[  +86 ms] executing: sysctl hw.optional.arm64
[  +16 ms] Exit code 1 from: sysctl hw.optional.arm64
[        ] sysctl: unknown oid 'hw.optional.arm64'
[   +5 ms] executing: [/Users/soul/opt/flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[  +17 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[        ] e3c29ec00c9c825c891d75054c63fcc46454dca1
[        ] executing: [/Users/soul/opt/flutter/] git tag --points-at e3c29ec00c9c825c891d75054c63fcc46454dca1
[  +26 ms] Exit code 0 from: git tag --points-at e3c29ec00c9c825c891d75054c63fcc46454dca1
[        ] 3.3.2
[  +52 ms] executing: [/Users/soul/opt/flutter/] git rev-parse --abbrev-ref --symbolic @{upstream}
[  +21 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{upstream}
[        ] origin/stable
[        ] executing: [/Users/soul/opt/flutter/] git ls-remote --get-url origin
[  +17 ms] Exit code 0 from: git ls-remote --get-url origin
[        ] https://github.com/flutter/flutter.git
[  +54 ms] executing: [/Users/soul/opt/flutter/] git rev-parse --abbrev-ref HEAD
[  +18 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] stable
[   +6 ms] executing: sw_vers -productName
[  +14 ms] Exit code 0 from: sw_vers -productName
[        ] macOS
[        ] executing: sw_vers -productVersion
[  +15 ms] Exit code 0 from: sw_vers -productVersion
[        ] 12.6
[        ] executing: sw_vers -buildVersion
[  +15 ms] Exit code 0 from: sw_vers -buildVersion
[        ] 21G115
[        ] executing: uname -m
[   +6 ms] Exit code 0 from: uname -m
[   +1 ms] x86_64
[  +59 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[   +3 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[  +46 ms] executing: /Users/soul/Library/Android/sdk/platform-tools/adb devices -l
[   +9 ms] executing: sysctl hw.optional.arm64
[   +4 ms] Exit code 1 from: sysctl hw.optional.arm64
[        ] sysctl: unknown oid 'hw.optional.arm64'
[        ] executing: xcrun xcodebuild -version
[ +327 ms] Exit code 0 from: xcrun xcodebuild -version
[   +3 ms] Xcode 14.0
           Build version 14A309
[   +3 ms] executing: xcrun xcdevice list --timeout 2
[   +2 ms] xcrun simctl list --json devices
[        ] executing: xcrun simctl list --json devices
[   +4 ms] executing: xcrun simctl list
[ +117 ms] Exit code 0 from: xcrun simctl list
[   +1 ms] == Device Types ==
           iPhone 4s (com.apple.CoreSimulator.SimDeviceType.iPhone-4s)
           iPhone 5 (com.apple.CoreSimulator.SimDeviceType.iPhone-5)
           iPhone 5s (com.apple.CoreSimulator.SimDeviceType.iPhone-5s)
           iPhone 6 Plus (com.apple.CoreSimulator.SimDeviceType.iPhone-6-Plus)
           iPhone 6 (com.apple.CoreSimulator.SimDeviceType.iPhone-6)
           iPhone 6s (com.apple.CoreSimulator.SimDeviceType.iPhone-6s)
           iPhone 6s Plus (com.apple.CoreSimulator.SimDeviceType.iPhone-6s-Plus)
           iPhone SE (1st generation) (com.apple.CoreSimulator.SimDeviceType.iPhone-SE)
           iPhone 7 (com.apple.CoreSimulator.SimDeviceType.iPhone-7)
           iPhone 7 Plus (com.apple.CoreSimulator.SimDeviceType.iPhone-7-Plus)
           iPhone 8 (com.apple.CoreSimulator.SimDeviceType.iPhone-8)
           iPhone 8 Plus (com.apple.CoreSimulator.SimDeviceType.iPhone-8-Plus)
           iPhone X (com.apple.CoreSimulator.SimDeviceType.iPhone-X)
           iPhone Xs (com.apple.CoreSimulator.SimDeviceType.iPhone-XS)
           iPhone Xs Max (com.apple.CoreSimulator.SimDeviceType.iPhone-XS-Max)
           iPhone Xʀ (com.apple.CoreSimulator.SimDeviceType.iPhone-XR)
           iPhone 11 (com.apple.CoreSimulator.SimDeviceType.iPhone-11)
           iPhone 11 Pro (com.apple.CoreSimulator.SimDeviceType.iPhone-11-Pro)
           iPhone 11 Pro Max (com.apple.CoreSimulator.SimDeviceType.iPhone-11-Pro-Max)
           iPhone SE (2nd generation) (com.apple.CoreSimulator.SimDeviceType.iPhone-SE--2nd-generation-)
           iPhone 12 mini (com.apple.CoreSimulator.SimDeviceType.iPhone-12-mini)
           iPhone 12 (com.apple.CoreSimulator.SimDeviceType.iPhone-12)
           iPhone 12 Pro (com.apple.CoreSimulator.SimDeviceType.iPhone-12-Pro)
           iPhone 12 Pro Max (com.apple.CoreSimulator.SimDeviceType.iPhone-12-Pro-Max)
           iPhone 13 Pro (com.apple.CoreSimulator.SimDeviceType.iPhone-13-Pro)
           iPhone 13 Pro Max (com.apple.CoreSimulator.SimDeviceType.iPhone-13-Pro-Max)
           iPhone 13 mini (com.apple.CoreSimulator.SimDeviceType.iPhone-13-mini)
           iPhone 13 (com.apple.CoreSimulator.SimDeviceType.iPhone-13)
           iPhone SE (3rd generation) (com.apple.CoreSimulator.SimDeviceType.iPhone-SE-3rd-generation)
           iPhone 14 (com.apple.CoreSimulator.SimDeviceType.iPhone-14)
           iPhone 14 Plus (com.apple.CoreSimulator.SimDeviceType.iPhone-14-Plus)
           iPhone 14 Pro (com.apple.CoreSimulator.SimDeviceType.iPhone-14-Pro)
           iPhone 14 Pro Max (com.apple.CoreSimulator.SimDeviceType.iPhone-14-Pro-Max)
           iPod touch (7th generation) (com.apple.CoreSimulator.SimDeviceType.iPod-touch--7th-generation-)
           iPad 2 (com.apple.CoreSimulator.SimDeviceType.iPad-2)
           iPad Retina (com.apple.CoreSimulator.SimDeviceType.iPad-Retina)
           iPad Air (com.apple.CoreSimulator.SimDeviceType.iPad-Air)
           iPad mini 2 (com.apple.CoreSimulator.SimDeviceType.iPad-mini-2)
           iPad mini 3 (com.apple.CoreSimulator.SimDeviceType.iPad-mini-3)
           iPad mini 4 (com.apple.CoreSimulator.SimDeviceType.iPad-mini-4)
           iPad Air 2 (com.apple.CoreSimulator.SimDeviceType.iPad-Air-2)
           iPad Pro (9.7-inch) (com.apple.CoreSimulator.SimDeviceType.iPad-Pro--9-7-inch-)
           iPad Pro (12.9-inch) (1st generation) (com.apple.CoreSimulator.SimDeviceType.iPad-Pro)
           iPad (5th generation) (com.apple.CoreSimulator.SimDeviceType.iPad--5th-generation-)
           iPad Pro (12.9-inch) (2nd generation) (com.apple.CoreSimulator.SimDeviceType.iPad-Pro--12-9-inch---2nd-generation-)
           iPad Pro (10.5-inch) (com.apple.CoreSimulator.SimDeviceType.iPad-Pro--10-5-inch-)
           iPad (6th generation) (com.apple.CoreSimulator.SimDeviceType.iPad--6th-generation-)
           iPad (7th generation) (com.apple.CoreSimulator.SimDeviceType.iPad--7th-generation-)
           iPad Pro (11-inch) (1st generation) (com.apple.CoreSimulator.SimDeviceType.iPad-Pro--11-inch-)
           iPad Pro (12.9-inch) (3rd generation) (com.apple.CoreSimulator.SimDeviceType.iPad-Pro--12-9-inch---3rd-generation-)
           iPad Pro (11-inch) (2nd generation) (com.apple.CoreSimulator.SimDeviceType.iPad-Pro--11-inch---2nd-generation-)
           iPad Pro (12.9-inch) (4th generation) (com.apple.CoreSimulator.SimDeviceType.iPad-Pro--12-9-inch---4th-generation-)
           iPad mini (5th generation) (com.apple.CoreSimulator.SimDeviceType.iPad-mini--5th-generation-)
           iPad Air (3rd generation) (com.apple.CoreSimulator.SimDeviceType.iPad-Air--3rd-generation-)
           iPad (8th generation) (com.apple.CoreSimulator.SimDeviceType.iPad--8th-generation-)
           iPad (9th generation) (com.apple.CoreSimulator.SimDeviceType.iPad-9th-generation)
           iPad Air (4th generation) (com.apple.CoreSimulator.SimDeviceType.iPad-Air--4th-generation-)
           iPad Pro (11-inch) (3rd generation) (com.apple.CoreSimulator.SimDeviceType.iPad-Pro-11-inch-3rd-generation)
           iPad Pro (12.9-inch) (5th generation) (com.apple.CoreSimulator.SimDeviceType.iPad-Pro-12-9-inch-5th-generation)
           iPad Air (5th generation) (com.apple.CoreSimulator.SimDeviceType.iPad-Air-5th-generation)
           iPad mini (6th generation) (com.apple.CoreSimulator.SimDeviceType.iPad-mini-6th-generation)
           Apple TV (com.apple.CoreSimulator.SimDeviceType.Apple-TV-1080p)
           Apple TV 4K (com.apple.CoreSimulator.SimDeviceType.Apple-TV-4K-4K)
           Apple TV 4K (at 1080p) (com.apple.CoreSimulator.SimDeviceType.Apple-TV-4K-1080p)
           Apple TV 4K (2nd generation) (com.apple.CoreSimulator.SimDeviceType.Apple-TV-4K-2nd-generation-4K)
           Apple TV 4K (at 1080p) (2nd generation) (com.apple.CoreSimulator.SimDeviceType.Apple-TV-4K-2nd-generation-1080p)
           Apple Watch (38mm) (com.apple.CoreSimulator.SimDeviceType.Apple-Watch-38mm)
           Apple Watch (42mm) (com.apple.CoreSimulator.SimDeviceType.Apple-Watch-42mm)
           Apple Watch Series 2 (38mm) (com.apple.CoreSimulator.SimDeviceType.Apple-Watch-Series-2-38mm)
           Apple Watch Series 2 (42mm) (com.apple.CoreSimulator.SimDeviceType.Apple-Watch-Series-2-42mm)
           Apple Watch Series 3 (38mm) (com.apple.CoreSimulator.SimDeviceType.Apple-Watch-Series-3-38mm)
           Apple Watch Series 3 (42mm) (com.apple.CoreSimulator.SimDeviceType.Apple-Watch-Series-3-42mm)
           Apple Watch Series 4 (40mm) (com.apple.CoreSimulator.SimDeviceType.Apple-Watch-Series-4-40mm)
           Apple Watch Series 4 (44mm) (com.apple.CoreSimulator.SimDeviceType.Apple-Watch-Series-4-44mm)
           Apple Watch Series 5 (40mm) (com.apple.CoreSimulator.SimDeviceType.Apple-Watch-Series-5-40mm)
           Apple Watch Series 5 (44mm) (com.apple.CoreSimulator.SimDeviceType.Apple-Watch-Series-5-44mm)
           Apple Watch SE (40mm) (com.apple.CoreSimulator.SimDeviceType.Apple-Watch-SE-40mm)
           Apple Watch SE (44mm) (com.apple.CoreSimulator.SimDeviceType.Apple-Watch-SE-44mm)
           Apple Watch Series 6 (40mm) (com.apple.CoreSimulator.SimDeviceType.Apple-Watch-Series-6-40mm)
           Apple Watch Series 6 (44mm) (com.apple.CoreSimulator.SimDeviceType.Apple-Watch-Series-6-44mm)
           Apple Watch Series 7 (41mm) (com.apple.CoreSimulator.SimDeviceType.Apple-Watch-Series-7-41mm)
           Apple Watch Series 7 (45mm) (com.apple.CoreSimulator.SimDeviceType.Apple-Watch-Series-7-45mm)
           Apple Watch SE (40mm) (2nd generation) (com.apple.CoreSimulator.SimDeviceType.Apple-Watch-SE-44mm-2nd-generation)
           Apple Watch SE (44mm) (2nd generation) (com.apple.CoreSimulator.SimDeviceType.Apple-Watch-SE-44mm-2nd-generation)
           Apple Watch Series 8 (41mm) (com.apple.CoreSimulator.SimDeviceType.Apple-Watch-Series-8-41mm)
           Apple Watch Series 8 (45mm) (com.apple.CoreSimulator.SimDeviceType.Apple-Watch-Series-8-45mm)
           Apple Watch Ultra (49mm) (com.apple.CoreSimulator.SimDeviceType.Apple-Watch-Ultra-49mm)
           == Runtimes ==
           iOS 16.0 (16.0 - 20A360) - com.apple.CoreSimulator.SimRuntime.iOS-16-0
           == Devices ==
           -- iOS 16.0 --
               iPhone SE (3rd generation) (ADC5DD00-DE44-45EF-ADF6-3C5DBB257A4B) (Shutdown)
               iPhone 14 (6916471A-9011-4E65-B2E7-CC4F27CBE2B0) (Shutdown)
               iPhone 14 Plus (B41DCB4B-BD34-460F-9B63-671D3D6E804B) (Shutdown)
               iPhone 14 Pro (3843BFC2-4D8E-4305-B143-37A4D1D6072C) (Shutdown)
               iPhone 14 Pro Max (39373A4E-B249-4969-BCDC-182CAA85CCA2) (Booted)
               iPad (9th generation) (388D0955-8678-498A-8D41-A887A7C59EF3) (Shutdown)
               iPad Pro (11-inch) (3rd generation) (A2C29507-8C6F-4BE1-A293-83B726BC952F) (Shutdown)
               iPad Pro (12.9-inch) (5th generation) (627B4B34-D935-48F7-B37A-F25856557267) (Shutdown)
               iPad Air (5th generation) (541B552E-D9CE-4693-9459-C6A2B7C8A6BA) (Shutdown)
               iPad mini (6th generation) (F0FBBD77-F368-4073-811F-1BDA799F66A9) (Shutdown)
           == Device Pairs ==
[  +45 ms] List of devices attached
           LGMV300Kc14d5ae2       device usb:339738624X product:joan_kt_kr model:LGM_V300K device:joan transport_id:1
[  +97 ms] {
             "devices" : {
               "com.apple.CoreSimulator.SimRuntime.iOS-16-0" : [
                 {
                   "dataPath" : "\/Users\/soul\/Library\/Developer\/CoreSimulator\/Devices\/ADC5DD00-DE44-45EF-ADF6-3C5DBB257A4B\/data",
                   "dataPathSize" : 13316096,
                   "logPath" : "\/Users\/soul\/Library\/Logs\/CoreSimulator\/ADC5DD00-DE44-45EF-ADF6-3C5DBB257A4B",
                   "udid" : "ADC5DD00-DE44-45EF-ADF6-3C5DBB257A4B",
                   "isAvailable" : true,
                   "deviceTypeIdentifier" : "com.apple.CoreSimulator.SimDeviceType.iPhone-SE-3rd-generation",
                   "state" : "Shutdown",
                   "name" : "iPhone SE (3rd generation)"
                 },
                 {
                   "dataPath" : "\/Users\/soul\/Library\/Developer\/CoreSimulator\/Devices\/6916471A-9011-4E65-B2E7-CC4F27CBE2B0\/data",
                   "dataPathSize" : 13316096,
                   "logPath" : "\/Users\/soul\/Library\/Logs\/CoreSimulator\/6916471A-9011-4E65-B2E7-CC4F27CBE2B0",
                   "udid" : "6916471A-9011-4E65-B2E7-CC4F27CBE2B0",
                   "isAvailable" : true,
                   "deviceTypeIdentifier" : "com.apple.CoreSimulator.SimDeviceType.iPhone-14",
                   "state" : "Shutdown",
                   "name" : "iPhone 14"
                 },
                 {
                   "dataPath" : "\/Users\/soul\/Library\/Developer\/CoreSimulator\/Devices\/B41DCB4B-BD34-460F-9B63-671D3D6E804B\/data",
                   "dataPathSize" : 13316096,
                   "logPath" : "\/Users\/soul\/Library\/Logs\/CoreSimulator\/B41DCB4B-BD34-460F-9B63-671D3D6E804B",
                   "udid" : "B41DCB4B-BD34-460F-9B63-671D3D6E804B",
                   "isAvailable" : true,
                   "deviceTypeIdentifier" : "com.apple.CoreSimulator.SimDeviceType.iPhone-14-Plus",
                   "state" : "Shutdown",
                   "name" : "iPhone 14 Plus"
                 },
                 {
                   "dataPath" : "\/Users\/soul\/Library\/Developer\/CoreSimulator\/Devices\/3843BFC2-4D8E-4305-B143-37A4D1D6072C\/data",
                   "dataPathSize" : 13316096,
                   "logPath" : "\/Users\/soul\/Library\/Logs\/CoreSimulator\/3843BFC2-4D8E-4305-B143-37A4D1D6072C",
                   "udid" : "3843BFC2-4D8E-4305-B143-37A4D1D6072C",
                   "isAvailable" : true,
                   "deviceTypeIdentifier" : "com.apple.CoreSimulator.SimDeviceType.iPhone-14-Pro",
                   "state" : "Shutdown",
                   "name" : "iPhone 14 Pro"
                 },
                 {
                   "lastBootedAt" : "2022-09-23T06:36:49Z",
                   "dataPath" : "\/Users\/soul\/Library\/Developer\/CoreSimulator\/Devices\/39373A4E-B249-4969-BCDC-182CAA85CCA2\/data",
                   "dataPathSize" : 1333751808,
                   "logPath" : "\/Users\/soul\/Library\/Logs\/CoreSimulator\/39373A4E-B249-4969-BCDC-182CAA85CCA2",
                   "udid" : "39373A4E-B249-4969-BCDC-182CAA85CCA2",
                   "isAvailable" : true,
                   "logPathSize" : 114688,
                   "deviceTypeIdentifier" : "com.apple.CoreSimulator.SimDeviceType.iPhone-14-Pro-Max",
                   "state" : "Booted",
                   "name" : "iPhone 14 Pro Max"
                 },
                 {
                   "dataPath" : "\/Users\/soul\/Library\/Developer\/CoreSimulator\/Devices\/388D0955-8678-498A-8D41-A887A7C59EF3\/data",
                   "dataPathSize" : 13316096,
                   "logPath" : "\/Users\/soul\/Library\/Logs\/CoreSimulator\/388D0955-8678-498A-8D41-A887A7C59EF3",
                   "udid" : "388D0955-8678-498A-8D41-A887A7C59EF3",
                   "isAvailable" : true,
                   "deviceTypeIdentifier" : "com.apple.CoreSimulator.SimDeviceType.iPad-9th-generation",
                   "state" : "Shutdown",
                   "name" : "iPad (9th generation)"
                 },
                 {
                   "dataPath" : "\/Users\/soul\/Library\/Developer\/CoreSimulator\/Devices\/A2C29507-8C6F-4BE1-A293-83B726BC952F\/data",
                   "dataPathSize" : 13316096,
                   "logPath" : "\/Users\/soul\/Library\/Logs\/CoreSimulator\/A2C29507-8C6F-4BE1-A293-83B726BC952F",
                   "udid" : "A2C29507-8C6F-4BE1-A293-83B726BC952F",
                   "isAvailable" : true,
                   "deviceTypeIdentifier" : "com.apple.CoreSimulator.SimDeviceType.iPad-Pro-11-inch-3rd-generation",
                   "state" : "Shutdown",
                   "name" : "iPad Pro (11-inch) (3rd generation)"
                 },
                 {
                   "dataPath" : "\/Users\/soul\/Library\/Developer\/CoreSimulator\/Devices\/627B4B34-D935-48F7-B37A-F25856557267\/data",
                   "dataPathSize" : 13316096,
                   "logPath" : "\/Users\/soul\/Library\/Logs\/CoreSimulator\/627B4B34-D935-48F7-B37A-F25856557267",
                   "udid" : "627B4B34-D935-48F7-B37A-F25856557267",
                   "isAvailable" : true,
                   "deviceTypeIdentifier" : "com.apple.CoreSimulator.SimDeviceType.iPad-Pro-12-9-inch-5th-generation",
                   "state" : "Shutdown",
                   "name" : "iPad Pro (12.9-inch) (5th generation)"
                 },
                 {
                   "dataPath" : "\/Users\/soul\/Library\/Developer\/CoreSimulator\/Devices\/541B552E-D9CE-4693-9459-C6A2B7C8A6BA\/data",
                   "dataPathSize" : 13316096,
                   "logPath" : "\/Users\/soul\/Library\/Logs\/CoreSimulator\/541B552E-D9CE-4693-9459-C6A2B7C8A6BA",
                   "udid" : "541B552E-D9CE-4693-9459-C6A2B7C8A6BA",
                   "isAvailable" : true,
                   "deviceTypeIdentifier" : "com.apple.CoreSimulator.SimDeviceType.iPad-Air-5th-generation",
                   "state" : "Shutdown",
                   "name" : "iPad Air (5th generation)"
                 },
                 {
                   "dataPath" : "\/Users\/soul\/Library\/Developer\/CoreSimulator\/Devices\/F0FBBD77-F368-4073-811F-1BDA799F66A9\/data",
                   "dataPathSize" : 13316096,
                   "logPath" : "\/Users\/soul\/Library\/Logs\/CoreSimulator\/F0FBBD77-F368-4073-811F-1BDA799F66A9",
                   "udid" : "F0FBBD77-F368-4073-811F-1BDA799F66A9",
                   "isAvailable" : true,
                   "deviceTypeIdentifier" : "com.apple.CoreSimulator.SimDeviceType.iPad-mini-6th-generation",
                   "state" : "Shutdown",
                   "name" : "iPad mini (6th generation)"
                 }
               ]
             }
           }
[+2578 ms] [
                      {
                        "simulator" : true,
                        "operatingSystemVersion" : "16.0 (20A360)",
                        "available" : true,
                        "platform" : "com.apple.platform.iphonesimulator",
                        "modelCode" : "iPhone14,8",
                        "identifier" : "B41DCB4B-BD34-460F-9B63-671D3D6E804B",
                        "architecture" : "x86_64",
                        "modelUTI" : "com.apple.iphone-14-1-plus",
                        "modelName" : "iPhone 14 Plus",
                        "name" : "iPhone 14 Plus"
                      },
                      {
                        "simulator" : true,
                        "operatingSystemVersion" : "16.0 (20A360)",
                        "available" : true,
                        "platform" : "com.apple.platform.iphonesimulator",
                        "modelCode" : "iPhone14,7",
                        "identifier" : "6916471A-9011-4E65-B2E7-CC4F27CBE2B0",
                        "architecture" : "x86_64",
                        "modelUTI" : "com.apple.iphone-14-1",
                        "modelName" : "iPhone 14",
                        "name" : "iPhone 14"
                      },
                      {
                        "simulator" : false,
                        "operatingSystemVersion" : "12.6 (21G115)",
                        "interface" : "usb",
                        "available" : true,
                        "platform" : "com.apple.platform.macosx",
                        "modelCode" : "MacBookPro15,2",
                        "identifier" : "F9A23659-DC70-5B63-A0CF-CBBBC574FDDC",
                        "architecture" : "x86_64h",
                        "modelUTI" : "com.apple.macbookpro-13-retina-touchid-2018",
                        "modelName" : "MacBook Pro",
                        "name" : "My Mac"
                      },
                      {
                        "simulator" : true,
                        "operatingSystemVersion" : "16.0 (20A360)",
                        "available" : true,
                        "platform" : "com.apple.platform.iphonesimulator",
                        "modelCode" : "iPhone15,3",
                        "identifier" : "39373A4E-B249-4969-BCDC-182CAA85CCA2",
                        "architecture" : "x86_64",
                        "modelUTI" : "com.apple.iphone-14-pro-max-1",
                        "modelName" : "iPhone 14 Pro Max",
                        "name" : "iPhone 14 Pro Max"
                      },
                      {
                        "simulator" : true,
                        "operatingSystemVersion" : "16.0 (20A360)",
                        "available" : true,
                        "platform" : "com.apple.platform.iphonesimulator",
                        "modelCode" : "iPhone15,2",
                        "identifier" : "3843BFC2-4D8E-4305-B143-37A4D1D6072C",
                        "architecture" : "x86_64",
                        "modelUTI" : "com.apple.iphone-14-pro-1",
                        "modelName" : "iPhone 14 Pro",
                        "name" : "iPhone 14 Pro"
                      },
                      {
                        "simulator" : true,
                        "operatingSystemVersion" : "16.0 (20A360)",
                        "available" : true,
                        "platform" : "com.apple.platform.iphonesimulator",
                        "modelCode" : "iPad13,17",
                        "identifier" : "541B552E-D9CE-4693-9459-C6A2B7C8A6BA",
                        "architecture" : "x86_64",
                        "modelUTI" : "com.apple.ipad-air5-1",
                        "modelName" : "iPad Air (5th generation)",
                        "name" : "iPad Air (5th generation)"
                      },
                      {
                        "simulator" : true,
                        "operatingSystemVersion" : "16.0 (20A360)",
                        "available" : true,
                        "platform" : "com.apple.platform.iphonesimulator",
                        "modelCode" : "iPad12,2",
                        "identifier" : "388D0955-8678-498A-8D41-A887A7C59EF3",
                        "architecture" : "x86_64",
                        "modelUTI" : "com.apple.ipad-9-wwan-1",
                        "modelName" : "iPad (9th generation)",
                        "name" : "iPad (9th generation)"
                      },
                      {
                        "simulator" : true,
                        "operatingSystemVersion" : "16.0 (20A360)",
                        "available" : true,
                        "platform" : "com.apple.platform.iphonesimulator",
                        "modelCode" : "iPhone14,6",
                        "identifier" : "ADC5DD00-DE44-45EF-ADF6-3C5DBB257A4B",
                        "architecture" : "x86_64",
                        "modelUTI" : "com.apple.iphone-se3-1",
                        "modelName" : "iPhone SE (3rd generation)",
                        "name" : "iPhone SE (3rd generation)"
                      },
                      {
                        "simulator" : true,
                        "operatingSystemVersion" : "16.0 (20A360)",
                        "available" : true,
                        "platform" : "com.apple.platform.iphonesimulator",
                        "modelCode" : "iPad13,10",
                        "identifier" : "627B4B34-D935-48F7-B37A-F25856557267",
                        "architecture" : "x86_64",
                        "modelUTI" : "com.apple.ipad-pro-12point9-5th-1",
                        "modelName" : "iPad Pro (12.9-inch) (5th generation)",
                        "name" : "iPad Pro (12.9-inch) (5th generation)"
                      },
                      {
                        "simulator" : true,
                        "operatingSystemVersion" : "16.0 (20A360)",
                        "available" : true,
                        "platform" : "com.apple.platform.iphonesimulator",
                        "modelCode" : "iPad14,1",
                        "identifier" : "F0FBBD77-F368-4073-811F-1BDA799F66A9",
                        "architecture" : "x86_64",
                        "modelUTI" : "com.apple.ipad-mini6-1",
                        "modelName" : "iPad mini (6th generation)",
                        "name" : "iPad mini (6th generation)"
                      },
                      {
                        "simulator" : true,
                        "operatingSystemVersion" : "16.0 (20A360)",
                        "available" : true,
                        "platform" : "com.apple.platform.iphonesimulator",
                        "modelCode" : "iPad13,5",
                        "identifier" : "A2C29507-8C6F-4BE1-A293-83B726BC952F",
                        "architecture" : "x86_64",
                        "modelUTI" : "com.apple.ipad-pro-11-3rd-1",
                        "modelName" : "iPad Pro (11-inch) (3rd generation)",
                        "name" : "iPad Pro (11-inch) (3rd generation)"
                      }
                    ]
[   +6 ms] /Users/soul/Library/Android/sdk/platform-tools/adb -s LGMV300Kc14d5ae2 shell getprop
[  +94 ms] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[   +7 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[   +4 ms] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[  +78 ms] Multiple devices found:
[   +1 ms] ro.hardware = joan
[        ] ro.build.characteristics = default
[   +3 ms] LGM V300K (mobile)         • LGMV300Kc14d5ae2                     • android-arm64 • Android 9 (API 28)
[        ] iPhone 14 Pro Max (mobile) • 39373A4E-B249-4969-BCDC-182CAA85CCA2 • ios           • com.apple.CoreSimulator.SimRuntime.iOS-16-0 (simulator)
[   +1 ms] [1]: LGM V300K (LGMV300Kc14d5ae2)
[        ] [2]: iPhone 14 Pro Max (39373A4E-B249-4969-BCDC-182CAA85CCA2)
[   +1 ms] Please choose one (To quit, press "q/Q")
[        ] :
[+23307 ms] q
[  +14 ms] "flutter run" took 26,792ms.
[  +26 ms]
           #0      throwToolExit (package:flutter_tools/src/base/common.dart:10:3)
           #1      DeviceManager._chooseOneOfAvailableDevices (package:flutter_tools/src/device.dart:314:7)
           <asynchronous suspension>
           #2      DeviceManager.findTargetDevices (package:flutter_tools/src/device.dart:302:37)
           <asynchronous suspension>
           #3      FlutterCommand.findAllTargetDevices (package:flutter_tools/src/runner/flutter_command.dart:1410:28)
           <asynchronous suspension>
           #4      RunCommand.validateCommand (package:flutter_tools/src/commands/run.dart:489:15)
           <asynchronous suspension>
           #5      FlutterCommand.verifyThenRunCommand (package:flutter_tools/src/runner/flutter_command.dart:1330:5)
           <asynchronous suspension>
           #6      FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:1209:27)
           <asynchronous suspension>
           #7      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
           <asynchronous suspension>
           #8      CommandRunner.runCommand (package:args/command_runner.dart:209:13)
           <asynchronous suspension>
           #9      FlutterCommandRunner.runCommand.<anonymous closure> (package:flutter_tools/src/runner/flutter_command_runner.dart:281:9)
           <asynchronous suspension>
           #10     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
           <asynchronous suspension>
           #11     FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:229:5)
           <asynchronous suspension>
           #12     run.<anonymous closure>.<anonymous closure> (package:flutter_tools/runner.dart:62:9)
           <asynchronous suspension>
           #13     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
           <asynchronous suspension>
           #14     main (package:flutter_tools/executable.dart:91:3)
           <asynchronous suspension>


[ +266 ms] ensureAnalyticsSent: 263ms
[        ] Running shutdown hooks
[        ] Shutdown hooks complete
[        ] exiting with code 1
huycozy wrote this answer on 2022-09-23

Hi @SoulEnergy

textScaleFactor does not work in Android, but it works in ios.

Could you please describe more about this? Which part of Flutter app doesn't work?
Please provide screenshots so that the issue will be clearer. It would be great if you could provide iOS screenshots too. Thank you!

SoulEnergy wrote this answer on 2022-09-26

HI @huycozy

This is an android ios example.
You may not feel the difference because of the webview target.

In android, you can see the difference from the text, but in ios, there is no difference.
Is there a way to have no effect in webview_flutter when setting the system font size?


MediaQuery.of(context).copyWith(textScaleFactor: 1),

The above method does not apply.


  1. android_fontsize Max

2_android_fontsize

2_android_webview

  1. android_fontsize Min

1_android_fontsize

1_android_webview

  1. ios_fontsize Max

3_ios_fontsize

3_ios_webview

  1. ios_fontsize Min

4_ios_fontsize

4_ios_webview

darshankawar wrote this answer on 2022-09-26

@SoulEnergy
Check this and see if it helps in your case.

More Details About Repo
Owner Name flutter
Repo Name flutter
Full Name flutter/flutter
Language Dart
Created Date 2015-03-06
Updated Date 2022-10-04
Star Count 145499
Watcher Count 3567
Fork Count 23393
Issue Count 11206

YOU MAY BE INTERESTED

Issue Title Created Date Updated Date