Remove Cupertino settings branches

Keep the Material settings implementation while preserving public Cupertino parameters for later cleanup. Narrow settings tests to the Material-only behavior.
This commit is contained in:
2026-11-11 05:21:30 +00:00
parent 75fd194394
commit 3933ff980c
18 changed files with 191 additions and 503 deletions
@@ -1,9 +1,7 @@
import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'settings_keys.dart';
import 'settings_row.dart';
import 'settings_theme.dart';
/// The Settings entry to the Templates gallery.
///
@@ -23,11 +21,7 @@ class SettingsTemplatesSection extends StatelessWidget {
@override
Widget build(BuildContext context) => SettingsRow(
key: SettingsKeys.templates,
leading: Icon(
usesCupertinoControls(context)
? CupertinoIcons.square_grid_2x2
: Icons.widgets_outlined,
),
leading: const Icon(Icons.widgets_outlined),
title: const Text(settingsTemplatesLabel),
subtitle: const Text(settingsTemplatesSecondary),
chevron: true,