@@ -411,6 +411,8 @@ class SvgPathStringSource {
411
411
}
412
412
}
413
413
414
+ @Deprecated ('Utility function that should not be public.' )
415
+ // TODO(kevmoo): Remove this in the next release https://github.com/flutter/flutter/issues/157940
414
416
_PathOffset reflectedPoint (
415
417
_PathOffset reflectedIn, _PathOffset pointToReflect) {
416
418
return _PathOffset (2 * reflectedIn.dx - pointToReflect.dx,
@@ -420,6 +422,8 @@ _PathOffset reflectedPoint(
420
422
const double _kOneOverThree = 1.0 / 3.0 ;
421
423
422
424
/// Blend the points with a ratio (1/3):(2/3).
425
+ @Deprecated ('Utility function that should not be public.' )
426
+ // TODO(kevmoo): Remove this in the next release https://github.com/flutter/flutter/issues/157940
423
427
_PathOffset blendPoints (_PathOffset p1, _PathOffset p2) {
424
428
return _PathOffset ((p1.dx + 2 * p2.dx) * _kOneOverThree,
425
429
(p1.dy + 2 * p2.dy) * _kOneOverThree);
@@ -447,6 +451,8 @@ class PathSegmentData {
447
451
arcSweep = false ,
448
452
arcLarge = false ;
449
453
454
+ @Deprecated ('Utility member that should not be public.' )
455
+ // TODO(kevmoo): Remove this in the next release https://github.com/flutter/flutter/issues/157940
450
456
_PathOffset get arcRadii => point1;
451
457
452
458
/// Angle in degrees.
@@ -471,8 +477,17 @@ class PathSegmentData {
471
477
double get y2 => point2.dy;
472
478
473
479
SvgPathSegType command;
480
+
481
+ @Deprecated ('Utility member that should not be public.' )
482
+ // TODO(kevmoo): Remove this in the next release https://github.com/flutter/flutter/issues/157940
474
483
_PathOffset targetPoint = _PathOffset .zero;
484
+
485
+ @Deprecated ('Utility member that should not be public.' )
486
+ // TODO(kevmoo): Remove this in the next release https://github.com/flutter/flutter/issues/157940
475
487
_PathOffset point1 = _PathOffset .zero;
488
+
489
+ @Deprecated ('Utility member that should not be public.' )
490
+ // TODO(kevmoo): Remove this in the next release https://github.com/flutter/flutter/issues/157940
476
491
_PathOffset point2 = _PathOffset .zero;
477
492
bool arcSweep;
478
493
bool arcLarge;
0 commit comments