diff --git a/lib/ui/compositing.dart b/lib/ui/compositing.dart index e0be1a66fdaf81430f2738fb3fd9a353f14339b3..35595f4cf685ff5f57b0a01523cf54a82f7d25f4 100644 --- a/lib/ui/compositing.dart +++ b/lib/ui/compositing.dart @@ -145,14 +145,14 @@ class SceneBuilder extends NativeFieldWrapperClass2 { /// /// Rasterization will be clipped to the given shape defined by [path]. If /// [elevation] is greater than 0.0, then a shadow is drawn around the layer. - /// [shadowColor] defines the color of the shadow if present and [color] defines the + /// [shadowColor] defines the color of the shadow if present and [color] defines the /// color of the layer background. /// /// See [pop] for details about the operation stack. void pushPhysicalShape({ Path path, double elevation, Color color, Color shadowColor}) { _pushPhysicalShape(path, elevation, color.value, shadowColor?.value ?? 0xFF000000); } - void _pushPhysicalShape(Path path, double elevation, int color, int shadowColor) native + void _pushPhysicalShape(Path path, double elevation, int color, int shadowColor) native 'SceneBuilder_pushPhysicalShape'; /// Ends the effect of the most recently pushed operation. diff --git a/lib/ui/painting/path.h b/lib/ui/painting/path.h index afe670b72ff2037cff2f2707dab6cd36c09c781a..69ba8d9099912235bb01a31b41203327483567b0 100644 --- a/lib/ui/painting/path.h +++ b/lib/ui/painting/path.h @@ -85,14 +85,14 @@ class CanvasPath : public fxl::RefCountedThreadSafe, void addPolygon(const tonic::Float32List& points, bool close); void addRRect(const RRect& rrect); void addPath(CanvasPath* path, double dx, double dy); - void addPathWithMatrix(CanvasPath* path, - double dx, - double dy, + void addPathWithMatrix(CanvasPath* path, + double dx, + double dy, tonic::Float64List& matrix4); void extendWithPath(CanvasPath* path, double dx, double dy); - void extendWithPathAndMatrix(CanvasPath* path, - double dx, - double dy, + void extendWithPathAndMatrix(CanvasPath* path, + double dx, + double dy, tonic::Float64List& matrix4); void close(); void reset(); diff --git a/lib/ui/semantics.dart b/lib/ui/semantics.dart index 7d00f6ac8e5fce12d33b55e731b7628784207d00..86f6d04abb09d9160c260d8b5dd7a94f37700d51 100644 --- a/lib/ui/semantics.dart +++ b/lib/ui/semantics.dart @@ -441,7 +441,7 @@ class SemanticsUpdateBuilder extends NativeFieldWrapperClass2 { /// length and contain the same ids. They may only differ in the order the /// ids are listed in. For more information about different child orders, see /// [DebugSemanticsDumpOrder]. - /// + /// /// The system retains the nodes that are currently reachable from the root. /// A given update need not contain information for nodes that do not change /// in the update. If a node is not reachable from the root after an update, diff --git a/lib/ui/text.dart b/lib/ui/text.dart index a98b2414e6d3bd082d1a1ec6d69ff81cba48f150..766fe9ced98a8846473a40afc598a1f099b80081 100644 --- a/lib/ui/text.dart +++ b/lib/ui/text.dart @@ -359,7 +359,7 @@ class TextStyle { Locale locale, Paint background, Paint foreground, - }) : assert(color == null || foreground == null, + }) : assert(color == null || foreground == null, 'Cannot provide both a color and a foreground\n' 'The color argument is just a shorthand for "foreground: new Paint()..color = color".' ),