diff --git a/examples/flutter_gallery/lib/gallery/demos.dart b/examples/flutter_gallery/lib/gallery/demos.dart index 156d262f98..63b8934ece 100644 --- a/examples/flutter_gallery/lib/gallery/demos.dart +++ b/examples/flutter_gallery/lib/gallery/demos.dart @@ -159,7 +159,7 @@ List _buildGalleryDemos() { ), GalleryDemo( title: 'Bottom sheet: Modal', - subtitle: 'A dismissable bottom sheet', + subtitle: 'A dismissible bottom sheet', icon: GalleryIcons.bottom_sheets, category: _kMaterialComponents, routeName: ModalBottomSheetDemo.routeName, diff --git a/packages/flutter/lib/src/cupertino/route.dart b/packages/flutter/lib/src/cupertino/route.dart index d388e03711..6aa2bd497e 100644 --- a/packages/flutter/lib/src/cupertino/route.dart +++ b/packages/flutter/lib/src/cupertino/route.dart @@ -231,7 +231,7 @@ class CupertinoPageRoute extends PageRoute { // with forms, then do not allow the user to dismiss the route with a swipe. if (route.hasScopedWillPopCallback) return false; - // Fullscreen dialogs aren't dismissable by back swipe. + // Fullscreen dialogs aren't dismissible by back swipe. if (route.fullscreenDialog) return false; // If we're in an animation already, we cannot be manually swiped. diff --git a/packages/flutter/lib/src/widgets/modal_barrier.dart b/packages/flutter/lib/src/widgets/modal_barrier.dart index b684846ee4..b11132d62a 100644 --- a/packages/flutter/lib/src/widgets/modal_barrier.dart +++ b/packages/flutter/lib/src/widgets/modal_barrier.dart @@ -60,7 +60,7 @@ class ModalBarrier extends StatelessWidget { /// the [ModalBarrier] built by [ModalRoute] pages. final bool barrierSemanticsDismissible; - /// Semantics label used for the barrier if it is [dismissable]. + /// Semantics label used for the barrier if it is [dismissible]. /// /// The semantics label is read out by accessibility tools (e.g. TalkBack /// on Android and VoiceOver on iOS) when the barrier is focused. @@ -147,7 +147,7 @@ class AnimatedModalBarrier extends AnimatedWidget { /// [AnimatedModalBarrier] built by [ModalRoute] pages. final bool dismissible; - /// Semantics label used for the barrier if it is [dismissable]. + /// Semantics label used for the barrier if it is [dismissible]. /// /// The semantics label is read out by accessibility tools (e.g. TalkBack /// on Android and VoiceOver on iOS) when the barrier is focused. diff --git a/packages/flutter/test/painting/decoration_test.dart b/packages/flutter/test/painting/decoration_test.dart index e38d5545d5..86b87a5ce2 100644 --- a/packages/flutter/test/painting/decoration_test.dart +++ b/packages/flutter/test/painting/decoration_test.dart @@ -71,7 +71,7 @@ class DelayedImageProvider extends ImageProvider { } @override - String toString() => '${describeIdentity(this)}}()'; + String toString() => '${describeIdentity(this)}()'; } class TestImage implements ui.Image {