Remove unused field initializing formal parameters. (flutter/engine#30822)
This commit is contained in:
committed by
GitHub
parent
58b82a17aa
commit
653163cbf8
@@ -44,16 +44,13 @@ class SurfacePathMetrics extends IterableBase<ui.PathMetric>
|
||||
|
||||
/// Maintains a single instance of computed segments for set of PathMetric
|
||||
/// objects exposed through iterator.
|
||||
///
|
||||
/// [resScale] controls the precision of measure when values > 1.
|
||||
class _SurfacePathMeasure {
|
||||
_SurfacePathMeasure(this._path, this.forceClosed, {this.resScale = 1.0})
|
||||
_SurfacePathMeasure(this._path, this.forceClosed)
|
||||
:
|
||||
// nextContour will increment this to the zero based index.
|
||||
_currentContourIndex = -1,
|
||||
_pathIterator = PathIterator(_path, forceClosed);
|
||||
|
||||
final double resScale;
|
||||
final PathRef _path;
|
||||
PathIterator _pathIterator;
|
||||
final List<_PathContourMeasure> _contours = <_PathContourMeasure>[];
|
||||
|
||||
@@ -252,11 +252,11 @@ class IsolateNameServer {
|
||||
SingletonFlutterWindow get window => engine.window;
|
||||
|
||||
class FrameData {
|
||||
const FrameData._({this.frameNumber = -1});
|
||||
const FrameData._();
|
||||
|
||||
const FrameData.webOnly() : frameNumber = -1;
|
||||
const FrameData.webOnly();
|
||||
|
||||
final int frameNumber;
|
||||
int get frameNumber => -1;
|
||||
}
|
||||
|
||||
class GestureSettings {
|
||||
|
||||
Reference in New Issue
Block a user