We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 57ce816 commit 521e3a6Copy full SHA for 521e3a6
packages/authenticator/amplify_authenticator/lib/src/widgets/social/social_button.dart
@@ -45,10 +45,7 @@ class SocialSignInButtons extends StatelessAuthenticatorComponent {
45
?.resolve({}) ??
46
Theme.of(context).textTheme.labelLarge;
47
final tp = TextPainter(
48
- // TODO(dnys1): replace with textScaleFactor when min flutter version is bumped to 3.16.0
49
- // see: https://docs.flutter.dev/release/breaking-changes/deprecate-textscalefactor#migrating-code-that-consumes-textscalefactor
50
- // ignore: deprecated_member_use
51
- textScaleFactor: MediaQuery.textScaleFactorOf(context),
+ textScaler: MediaQuery.textScalerOf(context),
52
text: TextSpan(
53
text: text,
54
style: style,
0 commit comments