Skip to content

Commit

Permalink
Suppress linter for textScaleFactor usages
Browse files Browse the repository at this point in the history
  • Loading branch information
Amir-P committed Nov 30, 2023
1 parent 4a53fbd commit fd20efa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/fleather/lib/src/rendering/paragraph_proxy.dart
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// ignore_for_file: deprecated_member_use

import 'dart:ui';

import 'package:flutter/rendering.dart';
Expand Down
1 change: 1 addition & 0 deletions packages/fleather/lib/src/widgets/text_line.dart
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@ class _TextLineState extends State<TextLine> {
text: text,
textAlign: textAlign,
strutStyle: strutStyle,
// ignore: deprecated_member_use
textScaleFactor: MediaQuery.textScaleFactorOf(context),
),
);
Expand Down

0 comments on commit fd20efa

Please sign in to comment.