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
+1 -1
View File
@@ -232,7 +232,7 @@ void main() {
}
expect(
bounds.height,
greaterThan(FloatingDestinationBar.selectedButtonSize(cupertino: false)),
greaterThan(FloatingDestinationBar.selectedButtonSize()),
);
expect(tester.getRect(pill()).right, 320 - 16);
});
-1
View File
@@ -39,7 +39,6 @@ void main() {
bar: KeyedSubtree(
key: const Key('item-tabs'),
child: FloatingDestinationBar(
cupertino: false,
edge: edge,
currentIndex: 0,
onTap: (_) {},
@@ -7,7 +7,6 @@ void main() {
testWidgets('compact menu exposes all named destinations', (tester) async {
AppDestination? selected;
final menu = ShellDestinationMenu(
cupertino: false,
current: AppDestination.chat,
onSelected: (value) => selected = value,
);
@@ -49,7 +49,6 @@ void main() {
bar: KeyedSubtree(
key: const Key('detail-tabs'),
child: FloatingDestinationBar(
cupertino: false,
currentIndex: 0,
onTap: (_) {},
items: const [
@@ -47,7 +47,6 @@ void main() {
bar: KeyedSubtree(
key: const Key('item-tabs'),
child: FloatingDestinationBar(
cupertino: false,
edge: edge,
currentIndex: 0,
onTap: (_) {},
@@ -75,7 +74,6 @@ void main() {
child: SegmentedBarOverlay(
bar: SegmentedBar(
key: const Key('own-header'),
cupertino: false,
automaticallyImplyLeading: false,
title: 'Own header',
),
@@ -220,7 +220,6 @@ void main() {
};
router = AppRouterDelegate(
initial: AppRoute.runs,
cupertino: false,
builder: (_, route) => AdaptiveShell(
destination: destinationOf(route),
onDestinationSelected: (value) => router.goTo(routeOf(value)),
@@ -148,7 +148,6 @@ void main() {
) async {
await setSize(tester, const Size(1280, 800));
final bar = SegmentedBar(
cupertino: false,
title: 'Settings',
actions: const [Icon(Icons.more_vert, semanticLabel: 'More')],
);