fix(app): polish glass diff and pipeline controls

This commit is contained in:
2026-10-31 03:22:52 +00:00
parent 3641083bcc
commit 5bed73e658
9 changed files with 76 additions and 71 deletions
@@ -191,4 +191,30 @@ void main() {
await tester.pumpWidget(app(true));
expect(find.byType(BackdropFilter), findsNothing);
});
testWidgets('Material and Cupertino titles use semibold text', (
tester,
) async {
for (final cupertino in [false, true]) {
await tester.pumpWidget(
cupertino
? const CupertinoApp(
home: CupertinoPageScaffold(
navigationBar: SegmentedBar(cupertino: true, title: 'Title'),
child: SizedBox.expand(),
),
)
: const MaterialApp(
home: Scaffold(
appBar: SegmentedBar(cupertino: false, title: 'Title'),
body: SizedBox.expand(),
),
),
);
expect(
tester.widget<Text>(find.text('Title')).style?.fontWeight,
FontWeight.w600,
);
}
});
}