Expand Stack fix to more exporting libraries (#74077)
This commit is contained in:
@@ -365,7 +365,7 @@ transforms:
|
||||
- title: 'Migrate to clipBehavior'
|
||||
date: 2020-09-22
|
||||
element:
|
||||
uris: [ 'widgets.dart' ]
|
||||
uris: [ 'widgets.dart', 'material.dart', 'cupertino.dart' ]
|
||||
field: 'overflow'
|
||||
inClass: 'Stack'
|
||||
changes:
|
||||
@@ -376,7 +376,7 @@ transforms:
|
||||
- title: 'Migrate to clipBehavior'
|
||||
date: 2020-09-22
|
||||
element:
|
||||
uris: [ 'widgets.dart' ]
|
||||
uris: [ 'widgets.dart', 'material.dart', 'cupertino.dart' ]
|
||||
constructor: ''
|
||||
inClass: 'Stack'
|
||||
oneOf:
|
||||
|
||||
@@ -28,6 +28,11 @@ void main() {
|
||||
buildContext.rootAncestorStateOfType(TypeMatcher<targetType>());
|
||||
buildContext.ancestorRenderObjectOfType(TypeMatcher<targetType>());
|
||||
|
||||
// Changes made in https://github.com/flutter/flutter/pull/66305
|
||||
const Stack stack = Stack(overflow: Overflow.visible);
|
||||
const Stack stack = Stack(overflow: Overflow.clip);
|
||||
final behavior = stack.overflow;
|
||||
|
||||
// Changes made in https://github.com/flutter/flutter/pull/61648
|
||||
const Form form = Form(autovalidate: true);
|
||||
const Form form = Form(autovalidate: false);
|
||||
|
||||
@@ -28,6 +28,11 @@ void main() {
|
||||
buildContext.findRootAncestorStateOfType<targetType>();
|
||||
buildContext.findAncestorRenderObjectOfType<targetType>();
|
||||
|
||||
// Changes made in https://github.com/flutter/flutter/pull/66305
|
||||
const Stack stack = Stack(clipBehavior: Clip.none);
|
||||
const Stack stack = Stack(clipBehavior: Clip.hardEdge);
|
||||
final behavior = stack.clipBehavior;
|
||||
|
||||
// Changes made in https://github.com/flutter/flutter/pull/61648
|
||||
const Form form = Form(autovalidateMode: AutoValidateMode.always);
|
||||
const Form form = Form(autovalidateMode: AutoValidateMode.disabled);
|
||||
|
||||
@@ -27,6 +27,11 @@ void main() {
|
||||
buildContext.rootAncestorStateOfType(TypeMatcher<targetType>());
|
||||
buildContext.ancestorRenderObjectOfType(TypeMatcher<targetType>());
|
||||
|
||||
// Changes made in https://github.com/flutter/flutter/pull/66305
|
||||
const Stack stack = Stack(overflow: Overflow.visible);
|
||||
const Stack stack = Stack(overflow: Overflow.clip);
|
||||
final behavior = stack.overflow;
|
||||
|
||||
// Changes made in https://github.com/flutter/flutter/pull/61648
|
||||
const Form form = Form(autovalidate: true);
|
||||
const Form form = Form(autovalidate: false);
|
||||
|
||||
@@ -27,6 +27,11 @@ void main() {
|
||||
buildContext.findRootAncestorStateOfType<targetType>();
|
||||
buildContext.findAncestorRenderObjectOfType<targetType>();
|
||||
|
||||
// Changes made in https://github.com/flutter/flutter/pull/66305
|
||||
const Stack stack = Stack(clipBehavior: Clip.none);
|
||||
const Stack stack = Stack(clipBehavior: Clip.hardEdge);
|
||||
final behavior = stack.clipBehavior;
|
||||
|
||||
// Changes made in https://github.com/flutter/flutter/pull/61648
|
||||
const Form form = Form(autovalidateMode: AutoValidateMode.always);
|
||||
const Form form = Form(autovalidateMode: AutoValidateMode.disabled);
|
||||
|
||||
Reference in New Issue
Block a user