/// 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. /// /// The page is a column of grouped sections. It starts at the top bar's own /// side inset, so on a wide window the groups line up under the title pill /// instead of floating in the middle, and stops growing at a reading width. library; /// The widest the column of groups grows on a wide window. const double settingsContentMaxWidth = 720; /// Space between the Settings groups. const double settingsSectionGap = 24; /// Space between a group's header and its rows, and between stacked blocks /// inside a row. const double settingsTitleGap = 8; /// Space between a field label and its field, and between stacked secondary /// lines. const double settingsFieldGap = 4; /// Space between wrapped action buttons. const double settingsControlGap = 8; /// The page's side inset: the segmented bar's own, so the groups' edge lines /// up with the title pill. const double settingsPageSidePadding = 12; /// Space below the top bar (added to its height) and below the last group. const double settingsPageTopPadding = 8; const double settingsPageBottomPadding = 32; /// The inset of a row's text inside a Material group (the [ListTile] default). const double settingsRowInset = 16; /// The corner radius of a Material group. const double settingsGroupRadius = 16;