From a2f61a8368151656ac05711f964ae631560e5168 Mon Sep 17 00:00:00 2001 From: Caleb Jasik Date: Thu, 13 Feb 2025 14:23:25 -0600 Subject: [PATCH] `dart format lib/` --- lib/components/IPAndPortFormField.dart | 5 +---- lib/models/Certificate.dart | 4 +--- 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/lib/components/IPAndPortFormField.dart b/lib/components/IPAndPortFormField.dart index e10942e..27e925a 100644 --- a/lib/components/IPAndPortFormField.dart +++ b/lib/components/IPAndPortFormField.dart @@ -111,10 +111,7 @@ class _IPAndPortFormField extends FormFieldState { @override void didUpdateWidget(IPAndPortFormField oldWidget) { super.didUpdateWidget(oldWidget); - var update = IPAndPort( - ip: widget.ipController?.text, - port: int.tryParse(widget.portController?.text ?? ""), - ); + var update = IPAndPort(ip: widget.ipController?.text, port: int.tryParse(widget.portController?.text ?? "")); bool shouldUpdate = false; if (widget.ipController != oldWidget.ipController) { diff --git a/lib/models/Certificate.dart b/lib/models/Certificate.dart index 134d3c8..61571b0 100644 --- a/lib/models/Certificate.dart +++ b/lib/models/Certificate.dart @@ -3,9 +3,7 @@ class CertificateInfo { String? rawCert; CertificateValidity? validity; - CertificateInfo.debug({this.rawCert = ""}) - : cert = Certificate.debug(), - validity = CertificateValidity.debug(); + CertificateInfo.debug({this.rawCert = ""}) : cert = Certificate.debug(), validity = CertificateValidity.debug(); CertificateInfo.fromJson(Map json) : cert = Certificate.fromJson(json['Cert']),