refactor: apply changes according to Dart

trailing commas
This commit is contained in:
Pun Butrach
2023-08-12 14:33:15 +07:00
parent 4b0c8cecc8
commit 11d8f9fd30
3 changed files with 11 additions and 5 deletions

View File

@ -39,14 +39,18 @@ class InstallerView extends StatelessWidget {
visible: !model.hasErrors,
child: IconButton.filledTonal(
tooltip: FlutterI18n.translate(
context, 'installerView.exportApkButtonTooltip'),
context,
'installerView.exportApkButtonTooltip',
),
icon: const Icon(Icons.save),
onPressed: () => model.onButtonPressed(0),
),
),
IconButton.filledTonal(
tooltip: FlutterI18n.translate(
context, 'installerView.exportLogButtonTooltip'),
context,
'installerView.exportLogButtonTooltip',
),
icon: const Icon(Icons.post_add),
onPressed: () => model.onButtonPressed(1),
),