-
Notifications
You must be signed in to change notification settings - Fork 31k
Add alignment to SizeTransition
#177895
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add alignment to SizeTransition
#177895
Changes from 1 commit
1597795
7102329
af78c39
83f6762
88013b0
b57c42b
4596a85
e16e2bd
57a487c
c603672
167622a
0a934b4
a8c2768
bb6420e
fa62c6b
e7cb38d
bc1de93
5d4a729
45eaa51
936e293
2e87eb3
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
- Loading branch information
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -453,7 +453,7 @@ class SizeTransition extends AnimatedWidget { | |
| required Animation<double> sizeFactor, | ||
| @Deprecated( | ||
| 'Use alignment instead. ' | ||
| 'This feature was deprecated after v3.38.0-1.0.pre-681', | ||
| 'This feature was deprecated after v3.38.0-1.0.pre-716', | ||
| ) this.axisAlignment, | ||
| this.alignment, | ||
| this.fixedCrossAxisSizeFactor, | ||
|
|
@@ -489,7 +489,7 @@ class SizeTransition extends AnimatedWidget { | |
| /// A value of 0.0 (the default) indicates the center for either [axis] value. | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Add something like "This property has been deprecated and superseded by [alignment]. Existing usages can be migrated to [alignment] as ... ". (A brief migration guide might not be required here, although I think it'll be a good idea unless it's very complicated.)
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
| @Deprecated( | ||
| 'Use alignment instead. ' | ||
| 'This feature was deprecated after v3.38.0-1.0.pre-681', | ||
| 'This feature was deprecated after v3.38.0-1.0.pre-716', | ||
| ) | ||
| final double? axisAlignment; | ||
|
|
||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Analysis errors appear to be formatting of this file.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @reidbaker, I fixed the 2 formatting issues here:
Fix deprecation message
Fix format