Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
F
Front-End
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abdullh.alsoleman
Front-End
Commits
c37b7c53
Unverified
Commit
c37b7c53
authored
Jan 22, 2019
by
Hans Muller
Committed by
GitHub
Jan 22, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Dismissible not dismissable (#26911)
parent
8afb015c
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
5 deletions
+5
-5
demos.dart
examples/flutter_gallery/lib/gallery/demos.dart
+1
-1
route.dart
packages/flutter/lib/src/cupertino/route.dart
+1
-1
modal_barrier.dart
packages/flutter/lib/src/widgets/modal_barrier.dart
+2
-2
decoration_test.dart
packages/flutter/test/painting/decoration_test.dart
+1
-1
No files found.
examples/flutter_gallery/lib/gallery/demos.dart
View file @
c37b7c53
...
...
@@ -159,7 +159,7 @@ List<GalleryDemo> _buildGalleryDemos() {
),
GalleryDemo
(
title:
'Bottom sheet: Modal'
,
subtitle:
'A dismiss
a
ble bottom sheet'
,
subtitle:
'A dismiss
i
ble bottom sheet'
,
icon:
GalleryIcons
.
bottom_sheets
,
category:
_kMaterialComponents
,
routeName:
ModalBottomSheetDemo
.
routeName
,
...
...
packages/flutter/lib/src/cupertino/route.dart
View file @
c37b7c53
...
...
@@ -231,7 +231,7 @@ class CupertinoPageRoute<T> extends PageRoute<T> {
// with forms, then do not allow the user to dismiss the route with a swipe.
if
(
route
.
hasScopedWillPopCallback
)
return
false
;
// Fullscreen dialogs aren't dismiss
a
ble by back swipe.
// Fullscreen dialogs aren't dismiss
i
ble by back swipe.
if
(
route
.
fullscreenDialog
)
return
false
;
// If we're in an animation already, we cannot be manually swiped.
...
...
packages/flutter/lib/src/widgets/modal_barrier.dart
View file @
c37b7c53
...
...
@@ -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 [dismiss
a
ble].
/// Semantics label used for the barrier if it is [dismiss
i
ble].
///
/// 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 [dismiss
a
ble].
/// Semantics label used for the barrier if it is [dismiss
i
ble].
///
/// The semantics label is read out by accessibility tools (e.g. TalkBack
/// on Android and VoiceOver on iOS) when the barrier is focused.
...
...
packages/flutter/test/painting/decoration_test.dart
View file @
c37b7c53
...
...
@@ -71,7 +71,7 @@ class DelayedImageProvider extends ImageProvider<DelayedImageProvider> {
}
@override
String
toString
()
=>
'
${describeIdentity(this)}
}
()'
;
String
toString
()
=>
'
${describeIdentity(this)}
()'
;
}
class
TestImage
implements
ui
.
Image
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment