Complete Material-only APIs and fixtures

Remove obsolete control-family flags and icon metadata across all callers, dead alternate themes and host helpers, obsolete test setup, and the unused icon-font dependency. Preserve native Material Back transitions. Make navigation fixtures independent of update plugins and answer auxiliary shell snapshots so the complete application suite can run deterministically.
This commit is contained in:
2026-11-11 21:55:39 +00:00
parent 63b2fd12cd
commit 9551eceaed
222 changed files with 540 additions and 1351 deletions
@@ -11,20 +11,15 @@ class BarIconButton extends StatelessWidget {
const BarIconButton({
super.key,
required this.icon,
this.cupertinoIcon,
required this.label,
required this.onPressed,
this.selected = false,
this.busy = false,
this.busyLabel,
this.cupertino,
});
final IconData icon;
/// Retained for source compatibility; Material rendering always uses [icon].
final IconData? cupertinoIcon;
/// The tooltip and accessible name.
final String label;
final VoidCallback? onPressed;
@@ -36,9 +31,6 @@ class BarIconButton extends StatelessWidget {
/// The accessible name while [busy]; defaults to [label].
final String? busyLabel;
/// The control family; defaults to the host's.
final bool? cupertino;
@override
Widget build(BuildContext context) {
if (busy) {
+2 -2
View File
@@ -46,7 +46,7 @@ class ChevronPager extends StatelessWidget {
onPressed: onPressed,
icon: Icon(
previous ? Icons.chevron_left : Icons.chevron_right,
size: GlassBarMetrics.iconSize(false),
size: GlassBarMetrics.iconSize(),
),
);
}
@@ -54,7 +54,7 @@ class ChevronPager extends StatelessWidget {
// The surrounding glass bar supplies the edge gap ([GlassBarMetrics]).
// The position keeps an icon's inset on each side, so it sits as far from
// the bar's edge and from the chevrons as an icon would.
final inset = GlassBarMetrics.iconInset(false);
final inset = GlassBarMetrics.iconInset();
return Row(
mainAxisAlignment: MainAxisAlignment.end,
children: [