Skip to content

Commit 1628f68

Browse files
committed
renamed subtitle1 to titleMedium as subtitle1 is deprecated
1 parent fc00be2 commit 1628f68

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/ui/widgets/dumb_widgets/document_type_card.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ class DocumentTypeCard extends StatelessWidget {
1717

1818
@override
1919
Widget build(BuildContext context) {
20-
var subtitle1 = Theme.of(context).textTheme.subtitle1?.copyWith(
20+
var subtitle1 = Theme.of(context).textTheme.titleMedium?.copyWith(
2121
fontSize: 16,
2222
color: (isSelected) ? Colors.white : Colors.black,
2323
);

0 commit comments

Comments
 (0)