Skip to content

Commit 776a7d3

Browse files
fix
1 parent 291a6aa commit 776a7d3

4 files changed

Lines changed: 8 additions & 9 deletions

File tree

‎lib/features/postgresql/postgres_sql_workspace.dart‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,7 @@ class _PostgresSqlWorkspaceState extends material.State<PostgresSqlWorkspace> {
306306
color: theme.colorScheme.muted.withValues(alpha: 0.6),
307307
),
308308
alignment: material.Alignment.centerLeft,
309-
child: Text('Data Output').semiBold().small(),
309+
child: const Text('Data Output').semiBold().small(),
310310
),
311311
const Divider(height: 1),
312312
Expanded(
@@ -375,7 +375,7 @@ class _SqlToolbar extends material.StatelessWidget {
375375
children: [
376376
material.Row(
377377
children: [
378-
Text('Query').semiBold().small(),
378+
const Text('Query').semiBold().small(),
379379
const Gap(12),
380380
Text(_txLabel()).muted().small(),
381381
const Spacer(),
@@ -407,7 +407,7 @@ class _SqlToolbar extends material.StatelessWidget {
407407
material.Row(
408408
mainAxisSize: material.MainAxisSize.min,
409409
children: [
410-
Text('Autocommit').small(),
410+
const Text('Autocommit').small(),
411411
const Gap(6),
412412
material.Switch(
413413
value: autocommit,
@@ -418,7 +418,7 @@ class _SqlToolbar extends material.StatelessWidget {
418418
material.Row(
419419
mainAxisSize: material.MainAxisSize.min,
420420
children: [
421-
Text('Stmt timeout').small(),
421+
const Text('Stmt timeout').small(),
422422
const Gap(6),
423423
material.DropdownButton<int?>(
424424
value: queryTimeoutSeconds,

‎lib/features/postgresql/postgres_workspace_home.dart‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ class _PostgresWorkspaceHomeState extends material.State<PostgresWorkspaceHome>
3535
),
3636
child: material.Row(
3737
children: [
38-
Text('PostgreSQL').semiBold().small(),
38+
const Text('PostgreSQL').semiBold().small(),
3939
const Spacer(),
4040
...List.generate(2, (i) {
4141
final labels = ['Server', 'SQL'];

‎lib/features/postgresql/postgresql_connection_form.dart‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -247,11 +247,11 @@ class _PostgresConnectionFormContentState
247247
const Gap(16),
248248
const Text('Connection URI (optional)').small().semiBold(),
249249
const Gap(4),
250-
Text(
250+
const Text(
251251
'If set, overrides Host / Port / Database below.',
252252
).muted().small(),
253253
const Gap(4),
254-
Text(
254+
const Text(
255255
'Supported query params include sslmode (disable, require, '
256256
'verify-ca, verify-full), connect_timeout and query_timeout '
257257
'(seconds). If sslmode is omitted, Use SSL/TLS below applies.',

‎test/core/database/postgres_connection_pool_test.dart‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,8 @@ ConnectionRow _row({int? id = 1}) => ConnectionRow(
1212

1313
/// In-memory stand-in: no TCP, tracks refcount-related calls.
1414
class FakePostgresConnection extends PostgresConnection {
15-
FakePostgresConnection({int id = 1})
15+
FakePostgresConnection({super.id = 1})
1616
: super(
17-
id: id,
1817
name: 'fake',
1918
host: 'localhost',
2019
port: 5432,

0 commit comments

Comments
 (0)