parent
aeb500a060
commit
b62da79190
@ -25,7 +25,7 @@ void main() {
|
||||
// they'll all be related to the seed color in both cases.
|
||||
//
|
||||
// Color scheme colors have been used where component defaults have
|
||||
// been overidden so that the app will look good and remain accessible
|
||||
// been overridden so that the app will look good and remain accessible
|
||||
// in both light and dark modes.
|
||||
//
|
||||
// Text styles are derived from the theme's textTheme (not the obsolete
|
||||
|
@ -499,7 +499,7 @@ void main() {
|
||||
await tester.pumpWidget(const CircularProgressIndicator(strokeCap: StrokeCap.butt));
|
||||
expect(find.byType(CircularProgressIndicator),
|
||||
paints..arc(strokeCap: StrokeCap.butt),
|
||||
reason: 'strokeCap can be set to StrokeCap.butt, and will not be overidden.');
|
||||
reason: 'strokeCap can be set to StrokeCap.butt, and will not be overridden.');
|
||||
|
||||
await tester.pumpWidget(const CircularProgressIndicator(strokeCap: StrokeCap.round));
|
||||
expect(find.byType(CircularProgressIndicator), paints..arc(strokeCap: StrokeCap.round));
|
||||
|
@ -1070,7 +1070,7 @@ void main() {
|
||||
);
|
||||
}
|
||||
|
||||
// Test tab bar with [TabBar.labeStyle] & [TabBar.unselectedLabelStyle].
|
||||
// Test tab bar with [TabBar.labelStyle] & [TabBar.unselectedLabelStyle].
|
||||
await tester.pumpWidget(buildTabBar());
|
||||
|
||||
IconThemeData selectedTabIcon = IconTheme.of(tester.element(find.text(_tab1Text)));
|
||||
|
@ -6501,7 +6501,7 @@ void main() {
|
||||
fontStyle: FontStyle.italic,
|
||||
);
|
||||
|
||||
// Test tab bar with labeStyle & unselectedLabelStyle.
|
||||
// Test tab bar with labelStyle & unselectedLabelStyle.
|
||||
await tester.pumpWidget(boilerplate(
|
||||
child: const DefaultTabController(
|
||||
length: 2,
|
||||
@ -6564,7 +6564,7 @@ void main() {
|
||||
);
|
||||
}
|
||||
|
||||
// Test tab bar with labeStyle & unselectedLabelStyle.
|
||||
// Test tab bar with labelStyle & unselectedLabelStyle.
|
||||
await tester.pumpWidget(buildTabBar());
|
||||
|
||||
IconThemeData selectedTabIcon = IconTheme.of(tester.element(find.text(tab1)));
|
||||
|
Loading…
x
Reference in New Issue
Block a user