From 9db48373d56048c8bc61d3541b50a9b1bfe7ccce Mon Sep 17 00:00:00 2001 From: Tamara Slosarek Date: Thu, 29 Aug 2024 11:48:05 +0200 Subject: [PATCH] fix(app): make linter happy --- .../drug/widgets/annotation_cards/drug.dart | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/app/lib/drug/widgets/annotation_cards/drug.dart b/app/lib/drug/widgets/annotation_cards/drug.dart index 59798c56..9883e405 100644 --- a/app/lib/drug/widgets/annotation_cards/drug.dart +++ b/app/lib/drug/widgets/annotation_cards/drug.dart @@ -101,23 +101,4 @@ class DrugAnnotationCards extends StatelessWidget { ], ); } - - Widget _buildStatusMenuItem(String text, IconData iconData) => Text.rich( - TextSpan( - children: [ - WidgetSpan( - alignment: PlaceholderAlignment.middle, - child: Icon( - iconData, - color: PharMeTheme.iconColor, - size: PharMeTheme.mediumSpace, - ), - ), - TextSpan(text: ' $text'), - ], - ), - maxLines: 1, - softWrap: false, - overflow: TextOverflow.fade, - ); }