[pve-devel] [PATCH pve_flutter_frontend] refactor: reformat code using `dart format` command
Shan Shaji
s.shaji at proxmox.com
Thu May 22 16:28:58 CEST 2025
This commit formats the entire code using the `dart format .` command.
Signed-off-by: Shan Shaji <s.shaji at proxmox.com>
---
lib/widgets/pve_guest_migrate_widget.dart | 6 ++++--
lib/widgets/pve_guest_overview_header.dart | 6 ++++--
2 files changed, 8 insertions(+), 4 deletions(-)
diff --git a/lib/widgets/pve_guest_migrate_widget.dart b/lib/widgets/pve_guest_migrate_widget.dart
index d467dd7..1471f96 100644
--- a/lib/widgets/pve_guest_migrate_widget.dart
+++ b/lib/widgets/pve_guest_migrate_widget.dart
@@ -63,7 +63,8 @@ class PveGuestMigrate extends StatelessWidget {
subtitle: Text(
migrateState.mode.name,
style: TextStyle(
- color: colorScheme.onPrimary.withValues(alpha: 0.66)),
+ color: colorScheme.onPrimary
+ .withValues(alpha: 0.66)),
),
),
ListTile(
@@ -75,7 +76,8 @@ class PveGuestMigrate extends StatelessWidget {
subtitle: Text(
migrateState.nodeID,
style: TextStyle(
- color: colorScheme.onPrimary.withValues(alpha: 0.66)),
+ color: colorScheme.onPrimary
+ .withValues(alpha: 0.66)),
),
),
Padding(
diff --git a/lib/widgets/pve_guest_overview_header.dart b/lib/widgets/pve_guest_overview_header.dart
index d9cc637..e4b5756 100644
--- a/lib/widgets/pve_guest_overview_header.dart
+++ b/lib/widgets/pve_guest_overview_header.dart
@@ -37,7 +37,8 @@ class PveGuestOverviewHeader extends StatelessWidget {
@override
Widget build(BuildContext context) {
final haError = ha?.state == 'error';
- final fgColor = Theme.of(context).colorScheme.onPrimary.withValues(alpha: 0.75);
+ final fgColor =
+ Theme.of(context).colorScheme.onPrimary.withValues(alpha: 0.75);
return Container(
height: 250,
width: width,
@@ -175,7 +176,8 @@ class _PveGuestHeaderRRDPageViewState extends State<PveGuestHeaderRRDPageView> {
}
var rrdData = widget.rrdData! // safety: checked for null above...
.where((e) => e.time != null);
- final fgColor = Theme.of(context).colorScheme.onPrimary.withValues(alpha: 0.75);
+ final fgColor =
+ Theme.of(context).colorScheme.onPrimary.withValues(alpha: 0.75);
return ScrollConfiguration(
behavior: PVEScrollBehavior(),
child: PageView.builder(
--
2.39.5
More information about the pve-devel
mailing list