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:
- 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);
......
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