refactor: improve code readability according to formatter

This commit is contained in:
Pun Butrach
2023-07-10 19:36:50 +07:00
parent b272988929
commit 6a45db8a38
9 changed files with 55 additions and 48 deletions

View File

@ -60,8 +60,7 @@ class _NotInstalledAppItem extends State<NotInstalledAppItem> {
child: Text(
'',
style: TextStyle(
color:
Theme.of(context).textTheme.titleLarge!.color,
color: Theme.of(context).textTheme.titleLarge!.color,
),
),
),
@ -70,8 +69,9 @@ class _NotInstalledAppItem extends State<NotInstalledAppItem> {
I18nText(
'suggested',
translationParams: {
'version' : widget.suggestedVersion.isEmpty
? FlutterI18n.translate(context, 'appSelectorCard.allVersions')
'version': widget.suggestedVersion.isEmpty
? FlutterI18n.translate(
context, 'appSelectorCard.allVersions')
: 'v${widget.suggestedVersion}',
},
),