flutter_settings_ui
                                
                                
                                
                                    flutter_settings_ui copied to clipboard
                            
                            
                            
                        [Bug] Cannot run the package with v3.x
When I run the flutter project with flutter_settings_ui: ^3.0.0 in pubspec.yaml, get the following issue. Earlier I was using settings_ui: ^2.0.2 without an issue and because it's no longer maintained and it had no way to set the background color, switched to this package.
My specs,
Flutter Channel stable, 3.10.0, on macOS 14.4sdk: '>=3.0.0 <3.3.0'
../../../../../../.pub-cache/hosted/pub.dev/flutter_settings_ui-3.0.1/lib/src/tiles/platforms/web_settings_tile.dart:36:36: Error: Member not found: 'MediaQuery.textScalerOf'.
    final scaleFactor = MediaQuery.textScalerOf(context).scale(1);
                                   ^^^^^^^^^^^^
../../../../../../.pub-cache/hosted/pub.dev/flutter_settings_ui-3.0.1/lib/src/tiles/platforms/web_settings_tile.dart:76:32: Error: The argument type 'num' can't be assigned to the parameter type 'double'.
                    bottom: 19 * scaleFactor,
                               ^
../../../../../../.pub-cache/hosted/pub.dev/flutter_settings_ui-3.0.1/lib/src/tiles/platforms/web_settings_tile.dart:77:29: Error: The argument type 'num' can't be assigned to the parameter type 'double'.
                    top: 19 * scaleFactor,
                            ^
../../../../../../.pub-cache/hosted/pub.dev/flutter_settings_ui-3.0.1/lib/src/tiles/platforms/ios_settings_tile.dart:102:36: Error: Member not found: 'MediaQuery.textScalerOf'.
    final scaleFactor = MediaQuery.textScalerOf(context).scale(1);
                                   ^^^^^^^^^^^^
../../../../../../.pub-cache/hosted/pub.dev/flutter_settings_ui-3.0.1/lib/src/tiles/platforms/ios_settings_tile.dart:109:16: Error: The argument type 'num' can't be assigned to the parameter type 'double'.
        top: 8 * scaleFactor,
               ^
../../../../../../.pub-cache/hosted/pub.dev/flutter_settings_ui-3.0.1/lib/src/tiles/platforms/ios_settings_tile.dart:110:50: Error: The argument type 'num' can't be assigned to the parameter type 'double'.
        bottom: additionalInfo.needToShowDivider ? 24 : 8 * scaleFactor,
                                                 ^
../../../../../../.pub-cache/hosted/pub.dev/flutter_settings_ui-3.0.1/lib/src/tiles/platforms/ios_settings_tile.dart:130:36: Error: Member not found: 'MediaQuery.textScalerOf'.
    final scaleFactor = MediaQuery.textScalerOf(context).scale(1);
                                   ^^^^^^^^^^^^
../../../../../../.pub-cache/hosted/pub.dev/flutter_settings_ui-3.0.1/lib/src/tiles/platforms/ios_settings_tile.dart:162:26: Error: The argument type 'num' can't be assigned to the parameter type 'double?'.
                size: 18 * scaleFactor,
                         ^
../../../../../../.pub-cache/hosted/pub.dev/flutter_settings_ui-3.0.1/lib/src/tiles/platforms/ios_settings_tile.dart:184:36: Error: Member not found: 'MediaQuery.textScalerOf'.
    final scaleFactor = MediaQuery.textScalerOf(context).scale(1);
                                   ^^^^^^^^^^^^
../../../../../../.pub-cache/hosted/pub.dev/flutter_settings_ui-3.0.1/lib/src/tiles/platforms/android_settings_tile.dart:38:36: Error: Member not found: 'MediaQuery.textScalerOf'.
    final scaleFactor = MediaQuery.textScalerOf(context).scale(1);
                                   ^^^^^^^^^^^^
../../../../../../.pub-cache/hosted/pub.dev/flutter_settings_ui-3.0.1/lib/src/tiles/platforms/android_settings_tile.dart:77:32: Error: The argument type 'num' can't be assigned to the parameter type 'double'.
                    bottom: 19 * scaleFactor,
                               ^
../../../../../../.pub-cache/hosted/pub.dev/flutter_settings_ui-3.0.1/lib/src/tiles/platforms/android_settings_tile.dart:78:29: Error: The argument type 'num' can't be assigned to the parameter type 'double'.
                    top: 19 * scaleFactor,
                            ^
../../../../../../.pub-cache/hosted/pub.dev/flutter_settings_ui-3.0.1/lib/src/sections/platforms/web_settings_section.dart:24:36: Error: Member not found: 'MediaQuery.textScalerOf'.
    final scaleFactor = MediaQuery.textScalerOf(context).scale(1);
                                   ^^^^^^^^^^^^
../../../../../../.pub-cache/hosted/pub.dev/flutter_settings_ui-3.0.1/lib/src/sections/platforms/web_settings_section.dart:35:27: Error: The argument type 'num' can't be assigned to the parameter type 'double'.
                bottom: 5 * scaleFactor,
                          ^
../../../../../../.pub-cache/hosted/pub.dev/flutter_settings_ui-3.0.1/lib/src/sections/platforms/web_settings_section.dart:37:25: Error: The argument type 'num' can't be assigned to the parameter type 'double'.
                top: 40 * scaleFactor,
                        ^
../../../../../../.pub-cache/hosted/pub.dev/flutter_settings_ui-3.0.1/lib/src/sections/platforms/web_settings_section.dart:33:26: Error: The argument type 'num' can't be assigned to the parameter type 'double?'.
              height: 65 * scaleFactor,
                         ^
../../../../../../.pub-cache/hosted/pub.dev/flutter_settings_ui-3.0.1/lib/src/sections/platforms/ios_settings_section.dart:22:36: Error: Member not found: 'MediaQuery.textScalerOf'.
    final scaleFactor = MediaQuery.textScalerOf(context).scale(1);
                                   ^^^^^^^^^^^^
../../../../../../.pub-cache/hosted/pub.dev/flutter_settings_ui-3.0.1/lib/src/sections/platforms/ios_settings_section.dart:28:42: Error: The argument type 'num' can't be assigned to the parameter type 'double'.
            bottom: isLastNonDescriptive ? 27 * scaleFactor : 10 * scaleFactor,
                                         ^
../../../../../../.pub-cache/hosted/pub.dev/flutter_settings_ui-3.0.1/lib/src/sections/platforms/ios_settings_section.dart:39:27: Error: The argument type 'num' can't be assigned to the parameter type 'double'.
                bottom: 5 * scaleFactor,
                          ^
../../../../../../.pub-cache/hosted/pub.dev/flutter_settings_ui-3.0.1/lib/src/sections/platforms/android_settings_section.dart:24:36: Error: Member not found: 'MediaQuery.textScalerOf'.
    final scaleFactor = MediaQuery.textScalerOf(context).scale(1);
                                   ^^^^^^^^^^^^
../../../../../../.pub-cache/hosted/pub.dev/flutter_settings_ui-3.0.1/lib/src/sections/platforms/android_settings_section.dart:38:21: Error: The argument type 'num' can't be assigned to the parameter type 'double'.
            top: 24 * scaleFactor,
                    ^
../../../../../../.pub-cache/hosted/pub.dev/flutter_settings_ui-3.0.1/lib/src/sections/platforms/android_settings_section.dart:39:24: Error: The argument type 'num' can't be assigned to the parameter type 'double'.
            bottom: 10 * scaleFactor,
                       ^
Target kernel_snapshot failed: Exception
FAILURE: Build failed with an exception.