Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit 958d2cf

Browse files
authored
Remove trailing white spaces (#5708)
So our future pull requests won't be polluted by the white space changes.
1 parent 6db0cc9 commit 958d2cf

File tree

4 files changed

+10
-10
lines changed

4 files changed

+10
-10
lines changed

lib/ui/compositing.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -145,14 +145,14 @@ class SceneBuilder extends NativeFieldWrapperClass2 {
145145
///
146146
/// Rasterization will be clipped to the given shape defined by [path]. If
147147
/// [elevation] is greater than 0.0, then a shadow is drawn around the layer.
148-
/// [shadowColor] defines the color of the shadow if present and [color] defines the
148+
/// [shadowColor] defines the color of the shadow if present and [color] defines the
149149
/// color of the layer background.
150150
///
151151
/// See [pop] for details about the operation stack.
152152
void pushPhysicalShape({ Path path, double elevation, Color color, Color shadowColor}) {
153153
_pushPhysicalShape(path, elevation, color.value, shadowColor?.value ?? 0xFF000000);
154154
}
155-
void _pushPhysicalShape(Path path, double elevation, int color, int shadowColor) native
155+
void _pushPhysicalShape(Path path, double elevation, int color, int shadowColor) native
156156
'SceneBuilder_pushPhysicalShape';
157157

158158
/// Ends the effect of the most recently pushed operation.

lib/ui/painting/path.h

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -85,14 +85,14 @@ class CanvasPath : public fxl::RefCountedThreadSafe<CanvasPath>,
8585
void addPolygon(const tonic::Float32List& points, bool close);
8686
void addRRect(const RRect& rrect);
8787
void addPath(CanvasPath* path, double dx, double dy);
88-
void addPathWithMatrix(CanvasPath* path,
89-
double dx,
90-
double dy,
88+
void addPathWithMatrix(CanvasPath* path,
89+
double dx,
90+
double dy,
9191
tonic::Float64List& matrix4);
9292
void extendWithPath(CanvasPath* path, double dx, double dy);
93-
void extendWithPathAndMatrix(CanvasPath* path,
94-
double dx,
95-
double dy,
93+
void extendWithPathAndMatrix(CanvasPath* path,
94+
double dx,
95+
double dy,
9696
tonic::Float64List& matrix4);
9797
void close();
9898
void reset();

lib/ui/semantics.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -441,7 +441,7 @@ class SemanticsUpdateBuilder extends NativeFieldWrapperClass2 {
441441
/// length and contain the same ids. They may only differ in the order the
442442
/// ids are listed in. For more information about different child orders, see
443443
/// [DebugSemanticsDumpOrder].
444-
///
444+
///
445445
/// The system retains the nodes that are currently reachable from the root.
446446
/// A given update need not contain information for nodes that do not change
447447
/// in the update. If a node is not reachable from the root after an update,

lib/ui/text.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -359,7 +359,7 @@ class TextStyle {
359359
Locale locale,
360360
Paint background,
361361
Paint foreground,
362-
}) : assert(color == null || foreground == null,
362+
}) : assert(color == null || foreground == null,
363363
'Cannot provide both a color and a foreground\n'
364364
'The color argument is just a shorthand for "foreground: new Paint()..color = color".'
365365
),

0 commit comments

Comments
 (0)