Committed by
GitHub
Fix BorderRadiusExtension
Before, when using r extension, bottomRight is copied from `bottomLeft.r` not `bottomRight.r`. bottomRight should be copyWith `bottomRight.r`
Showing
1 changed file
with
1 additions
and
1 deletions
| @@ -63,7 +63,7 @@ extension BorderRaduisExtension on BorderRadius { | @@ -63,7 +63,7 @@ extension BorderRaduisExtension on BorderRadius { | ||
| 63 | /// Creates adapt BorderRadius using r [SizeExtension]. | 63 | /// Creates adapt BorderRadius using r [SizeExtension]. |
| 64 | BorderRadius get r => copyWith( | 64 | BorderRadius get r => copyWith( |
| 65 | bottomLeft: bottomLeft.r, | 65 | bottomLeft: bottomLeft.r, |
| 66 | - bottomRight: bottomLeft.r, | 66 | + bottomRight: bottomRight.r, |
| 67 | topLeft: topLeft.r, | 67 | topLeft: topLeft.r, |
| 68 | topRight: topRight.r, | 68 | topRight: topRight.r, |
| 69 | ); | 69 | ); |
-
Please register or login to post a comment