Files
pipelines/app/lib/features/settings/settings_layout.dart
T
alan abd696b0d9 feat(app): add native Settings connection and workspace screen
Add the Settings destination under lib/features/settings with an editable
websocket endpoint, truthful connection states, one ping per connect/mount,
workspace validation and persistence under new feature-owned keys. Material
and Cupertino controls, wrapping copy at large text, pending ping state, and
isolated probe tools plus widget/unit coverage.
2026-10-21 17:39:18 +01:00

28 lines
950 B
Dart

/// The one place the Settings screen keeps its necessary layout constraints.
///
/// Everything else (control heights, font sizes, colours, button padding) comes
/// from the active Material or Cupertino theme, so text scaling and platform
/// defaults are never overridden here.
library;
/// A comfortable reading width on wide windows; the body is centred inside it.
const double settingsContentMaxWidth = 720;
/// Space between the Settings sections.
const double settingsSectionGap = 24;
/// Space between a section title and its controls.
const double settingsTitleGap = 12;
/// Space between a field and its supporting text.
const double settingsFieldGap = 6;
/// Space between wrapped action buttons.
const double settingsControlGap = 8;
/// Padding around the page body on narrow windows.
const double settingsPagePadding = 16;
/// Padding inside a standard Material card / Cupertino inset row.
const double settingsCardPadding = 16;