remove unecessessary prefix text
All checks were successful
Pull Request Pipeline / test (pull_request) Successful in 48s
Pull Request Pipeline / lint (pull_request) Successful in 49s

This commit is contained in:
2026-05-09 13:01:42 +02:00
parent 350c5430a4
commit 2fdcc3e8aa

View File

@@ -10,7 +10,6 @@ class TextIconListTile extends StatelessWidget {
super.key,
required this.text,
this.suffixText = '',
this.prefixText = '',
this.icon,
this.onPressed,
});
@@ -21,9 +20,6 @@ class TextIconListTile extends StatelessWidget {
/// An optional suffix text to display after the main text.
final String suffixText;
/// An optional prefix text to display before the main text.
final String prefixText;
/// The icon to display in the tile.
final IconData? icon;
@@ -48,14 +44,6 @@ class TextIconListTile extends StatelessWidget {
text: TextSpan(
style: DefaultTextStyle.of(context).style,
children: [
TextSpan(
text: prefixText,
style: const TextStyle(
fontSize: 16,
fontWeight: FontWeight.bold,
color: CustomTheme.primaryColor,
),
),
TextSpan(
text: text,
style: const TextStyle(