Skip to content

Commit e12b1da

Browse files
committed
fix nits
1 parent 7b7204f commit e12b1da

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/flutter/lib/src/material/banner.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ class MaterialBanner extends StatefulWidget {
157157
/// Typically an [Icon] widget.
158158
final Widget? leading;
159159

160-
/// The (optional) minActionBarHeight allows users to set minimum action bar height.
160+
/// The optional minimum action bar height.
161161
///
162162
/// Default is 52.0.
163163
final double minActionBarHeight;

packages/flutter/test/material/banner_test.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1175,7 +1175,7 @@ void main() {
11751175
expect(size.height, equals(minActionBarHeight));
11761176
});
11771177

1178-
testWidgets('MinimumActionBarHeight respected with ScaffolMessenger', (WidgetTester tester) async {
1178+
testWidgets('MinimumActionBarHeight respects with ScaffoldMessenger', (WidgetTester tester) async {
11791179
const Key tapTarget = Key('tap-target');
11801180
const double minActionBarHeight = 20;
11811181
await tester.pumpWidget(MaterialApp(

0 commit comments

Comments
 (0)