Skip to content

Commit

Permalink
Update deprecated textScaleFactor
Browse files Browse the repository at this point in the history
  • Loading branch information
quoc-huynh-cosee committed Nov 21, 2023
1 parent 185660d commit 338849c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/src/line_size_builder.dart
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ class LineSizeBuilder extends StatelessWidget {
style: styleForHeightCalculation ??
Theme.of(context).primaryTextTheme.bodyLarge,
),
textScaleFactor: MediaQuery.of(context).textScaleFactor,
textScaler: MediaQuery.of(context).textScaler,
textDirection: TextDirection.ltr,
)..layout(maxWidth: maxWidth);

Expand Down

0 comments on commit 338849c

Please sign in to comment.