forked from firka/flutter
Rename Dismissable to Dismissible (#8919)
The latter is the proper spelling. Fixes #8883
This commit is contained in:
@@ -19,7 +19,7 @@ class _CupertinoDialogDemoState extends State<CupertinoDialogDemo> {
|
||||
showDialog<T>(
|
||||
context: context,
|
||||
child: child,
|
||||
barrierDismissable: false,
|
||||
barrierDismissible: false,
|
||||
)
|
||||
.then<Null>((T value) { // The value passed to Navigator.pop() or null.
|
||||
if (value != null) {
|
||||
|
||||
@@ -85,7 +85,7 @@ class LeaveBehindDemoState extends State<LeaveBehindDemo> {
|
||||
|
||||
Widget buildItem(LeaveBehindItem item) {
|
||||
final ThemeData theme = Theme.of(context);
|
||||
return new Dismissable(
|
||||
return new Dismissible(
|
||||
key: new ObjectKey(item),
|
||||
direction: _dismissDirection,
|
||||
onDismissed: (DismissDirection direction) {
|
||||
|
||||
Reference in New Issue
Block a user