Skip to content

Commit

Permalink
renamed subtitle1 to titleMedium as subtitle1 is deprecated
Browse files Browse the repository at this point in the history
  • Loading branch information
manoj1749 committed Mar 4, 2023
1 parent fc00be2 commit 1628f68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ui/widgets/dumb_widgets/document_type_card.dart
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class DocumentTypeCard extends StatelessWidget {

@override
Widget build(BuildContext context) {
var subtitle1 = Theme.of(context).textTheme.subtitle1?.copyWith(
var subtitle1 = Theme.of(context).textTheme.titleMedium?.copyWith(
fontSize: 16,
color: (isSelected) ? Colors.white : Colors.black,
);
Expand Down

0 comments on commit 1628f68

Please sign in to comment.