public inbox for pve-devel@lists.proxmox.com
 help / color / mirror / Atom feed
From: Shan Shaji <s.shaji@proxmox.com>
To: pve-devel@lists.proxmox.com
Subject: [pve-devel] [PATCH pve_flutter_frontend] refactor: reformat code using `dart format` command
Date: Thu, 22 May 2025 16:28:58 +0200	[thread overview]
Message-ID: <20250522142858.155753-1-s.shaji@proxmox.com> (raw)

This commit formats the entire code using the `dart format .` command.

Signed-off-by: Shan Shaji <s.shaji@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



_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel


             reply	other threads:[~2025-05-22 14:29 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-05-22 14:28 Shan Shaji [this message]
2025-06-04 11:11 ` [pve-devel] applied: " Dominik Csapak

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20250522142858.155753-1-s.shaji@proxmox.com \
    --to=s.shaji@proxmox.com \
    --cc=pve-devel@lists.proxmox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal