Unverified Commit 7a413e71 authored by Kate Lovett's avatar Kate Lovett Committed by GitHub

Expand Stack fix to more exporting libraries (#74077)

parent e9a91521
...@@ -365,7 +365,7 @@ transforms: ...@@ -365,7 +365,7 @@ transforms:
- title: 'Migrate to clipBehavior' - title: 'Migrate to clipBehavior'
date: 2020-09-22 date: 2020-09-22
element: element:
uris: [ 'widgets.dart' ] uris: [ 'widgets.dart', 'material.dart', 'cupertino.dart' ]
field: 'overflow' field: 'overflow'
inClass: 'Stack' inClass: 'Stack'
changes: changes:
...@@ -376,7 +376,7 @@ transforms: ...@@ -376,7 +376,7 @@ transforms:
- title: 'Migrate to clipBehavior' - title: 'Migrate to clipBehavior'
date: 2020-09-22 date: 2020-09-22
element: element:
uris: [ 'widgets.dart' ] uris: [ 'widgets.dart', 'material.dart', 'cupertino.dart' ]
constructor: '' constructor: ''
inClass: 'Stack' inClass: 'Stack'
oneOf: oneOf:
......
...@@ -28,6 +28,11 @@ void main() { ...@@ -28,6 +28,11 @@ void main() {
buildContext.rootAncestorStateOfType(TypeMatcher<targetType>()); buildContext.rootAncestorStateOfType(TypeMatcher<targetType>());
buildContext.ancestorRenderObjectOfType(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 // Changes made in https://github.com/flutter/flutter/pull/61648
const Form form = Form(autovalidate: true); const Form form = Form(autovalidate: true);
const Form form = Form(autovalidate: false); const Form form = Form(autovalidate: false);
......
...@@ -28,6 +28,11 @@ void main() { ...@@ -28,6 +28,11 @@ void main() {
buildContext.findRootAncestorStateOfType<targetType>(); buildContext.findRootAncestorStateOfType<targetType>();
buildContext.findAncestorRenderObjectOfType<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 // Changes made in https://github.com/flutter/flutter/pull/61648
const Form form = Form(autovalidateMode: AutoValidateMode.always); const Form form = Form(autovalidateMode: AutoValidateMode.always);
const Form form = Form(autovalidateMode: AutoValidateMode.disabled); const Form form = Form(autovalidateMode: AutoValidateMode.disabled);
......
...@@ -27,6 +27,11 @@ void main() { ...@@ -27,6 +27,11 @@ void main() {
buildContext.rootAncestorStateOfType(TypeMatcher<targetType>()); buildContext.rootAncestorStateOfType(TypeMatcher<targetType>());
buildContext.ancestorRenderObjectOfType(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 // Changes made in https://github.com/flutter/flutter/pull/61648
const Form form = Form(autovalidate: true); const Form form = Form(autovalidate: true);
const Form form = Form(autovalidate: false); const Form form = Form(autovalidate: false);
......
...@@ -27,6 +27,11 @@ void main() { ...@@ -27,6 +27,11 @@ void main() {
buildContext.findRootAncestorStateOfType<targetType>(); buildContext.findRootAncestorStateOfType<targetType>();
buildContext.findAncestorRenderObjectOfType<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 // Changes made in https://github.com/flutter/flutter/pull/61648
const Form form = Form(autovalidateMode: AutoValidateMode.always); const Form form = Form(autovalidateMode: AutoValidateMode.always);
const Form form = Form(autovalidateMode: AutoValidateMode.disabled); const Form form = Form(autovalidateMode: AutoValidateMode.disabled);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment