From 1628f6853ffb4a52d12789c6c65d4903cbe2ec3e Mon Sep 17 00:00:00 2001 From: Manoj Date: Sun, 5 Mar 2023 00:14:07 +0530 Subject: [PATCH] renamed subtitle1 to titleMedium as subtitle1 is deprecated --- lib/ui/widgets/dumb_widgets/document_type_card.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ui/widgets/dumb_widgets/document_type_card.dart b/lib/ui/widgets/dumb_widgets/document_type_card.dart index 3b01100..d91e2e0 100644 --- a/lib/ui/widgets/dumb_widgets/document_type_card.dart +++ b/lib/ui/widgets/dumb_widgets/document_type_card.dart @@ -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, );