feat: add placement ruleset and related localization
Some checks failed
Pull Request Pipeline / test (pull_request) Successful in 45s
Pull Request Pipeline / lint (pull_request) Failing after 48s

This commit is contained in:
2026-05-09 02:08:40 +02:00
parent 044a6acbbe
commit bc997633eb
11 changed files with 176 additions and 6 deletions

View File

@@ -10,6 +10,7 @@ class TextIconListTile extends StatelessWidget {
super.key,
required this.text,
this.suffixText = '',
this.prefixText = '',
this.iconEnabled = true,
this.onPressed,
});
@@ -20,6 +21,9 @@ 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;
/// A boolean to determine if the icon should be displayed.
final bool iconEnabled;
@@ -44,6 +48,14 @@ class TextIconListTile extends StatelessWidget {
text: TextSpan(
style: DefaultTextStyle.of(context).style,
children: [
TextSpan(
text: prefixText,
style: TextStyle(
fontSize: 16,
fontWeight: FontWeight.bold,
color: CustomTheme.primaryColor,
),
),
TextSpan(
text: text,
style: const TextStyle(