Fix Small Typos.
This commit is contained in:
Tirth 2023-10-27 05:25:38 +05:30 committed by GitHub
parent aeb500a060
commit b62da79190
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 5 additions and 5 deletions

View File

@ -25,7 +25,7 @@ void main() {
// they'll all be related to the seed color in both cases. // they'll all be related to the seed color in both cases.
// //
// Color scheme colors have been used where component defaults have // 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. // in both light and dark modes.
// //
// Text styles are derived from the theme's textTheme (not the obsolete // Text styles are derived from the theme's textTheme (not the obsolete

View File

@ -499,7 +499,7 @@ void main() {
await tester.pumpWidget(const CircularProgressIndicator(strokeCap: StrokeCap.butt)); await tester.pumpWidget(const CircularProgressIndicator(strokeCap: StrokeCap.butt));
expect(find.byType(CircularProgressIndicator), expect(find.byType(CircularProgressIndicator),
paints..arc(strokeCap: StrokeCap.butt), 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)); await tester.pumpWidget(const CircularProgressIndicator(strokeCap: StrokeCap.round));
expect(find.byType(CircularProgressIndicator), paints..arc(strokeCap: StrokeCap.round)); expect(find.byType(CircularProgressIndicator), paints..arc(strokeCap: StrokeCap.round));

View File

@ -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()); await tester.pumpWidget(buildTabBar());
IconThemeData selectedTabIcon = IconTheme.of(tester.element(find.text(_tab1Text))); IconThemeData selectedTabIcon = IconTheme.of(tester.element(find.text(_tab1Text)));

View File

@ -6501,7 +6501,7 @@ void main() {
fontStyle: FontStyle.italic, fontStyle: FontStyle.italic,
); );
// Test tab bar with labeStyle & unselectedLabelStyle. // Test tab bar with labelStyle & unselectedLabelStyle.
await tester.pumpWidget(boilerplate( await tester.pumpWidget(boilerplate(
child: const DefaultTabController( child: const DefaultTabController(
length: 2, length: 2,
@ -6564,7 +6564,7 @@ void main() {
); );
} }
// Test tab bar with labeStyle & unselectedLabelStyle. // Test tab bar with labelStyle & unselectedLabelStyle.
await tester.pumpWidget(buildTabBar()); await tester.pumpWidget(buildTabBar());
IconThemeData selectedTabIcon = IconTheme.of(tester.element(find.text(tab1))); IconThemeData selectedTabIcon = IconTheme.of(tester.element(find.text(tab1)));