Skip to content

Commit

Permalink
fix: widget deprecated fields
Browse files Browse the repository at this point in the history
  • Loading branch information
ilteoood committed Dec 29, 2023
1 parent 21daae1 commit 5ede131
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion lib/widgets/I18nPlural.dart
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,11 @@ class I18nPlural extends StatelessWidget {
textDirection: child.textDirection,
softWrap: child.softWrap,
overflow: child.overflow,
textScaleFactor: child.textScaleFactor,
textScaler: child.textScaler,
maxLines: child.maxLines,
semanticsLabel: child.semanticsLabel,
textWidthBasis: child.textWidthBasis,
textHeightBehavior: child.textHeightBehavior,
);
}
}
3 changes: 2 additions & 1 deletion lib/widgets/I18nText.dart
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,11 @@ class I18nText extends StatelessWidget {
textDirection: child.textDirection,
softWrap: child.softWrap,
overflow: child.overflow,
textScaleFactor: child.textScaleFactor,
textScaler: child.textScaler,
maxLines: child.maxLines,
semanticsLabel: child.semanticsLabel,
textWidthBasis: child.textWidthBasis,
textHeightBehavior: child.textHeightBehavior,
);
}
}

0 comments on commit 5ede131

Please sign in to comment.