throw'It called $methodName with a center coordinate, $pointArgument, which was not exactly the expected coordinate ($point).';
}else{
if(x!=null&&pointArgument.dx!=x)
throw'It called $methodName with a center coordinate, $pointArgument, whose x-coordinate not exactly the expected coordinate (${x.toStringAsFixed(1)}).';
throw'It called $methodName with a center coordinate, $pointArgument, whose x-coordinate not exactly the expected coordinate (${x!.toStringAsFixed(1)}).';
if(y!=null&&pointArgument.dy!=y)
throw'It called $methodName with a center coordinate, $pointArgument, whose y-coordinate not exactly the expected coordinate (${y.toStringAsFixed(1)}).';
throw'It called $methodName with a center coordinate, $pointArgument, whose y-coordinate not exactly the expected coordinate (${y!.toStringAsFixed(1)}).';
}
finaldoubleradiusArgument=arguments[1]asdouble;
if(radius!=null&&radiusArgument!=radius)
throw'It called $methodName with radius, ${radiusArgument.toStringAsFixed(1)}, which was not exactly the expected radius (${radius.toStringAsFixed(1)}).';
throw'It called $methodName with radius, ${radiusArgument.toStringAsFixed(1)}, which was not exactly the expected radius (${radius!.toStringAsFixed(1)}).';
@@ -1319,14 +1317,14 @@ class _DrawImagePaintPredicate extends _DrawCommandPaintPredicate {
throw'It called $methodName with an image, $imageArgument, which was not exactly the expected image ($image).';
finalOffsetpointArgument=arguments[0]asOffset;
if(x!=null&&y!=null){
finalOffsetpoint=Offset(x,y);
finalOffsetpoint=Offset(x!,y!);
if(point!=pointArgument)
throw'It called $methodName with an offset coordinate, $pointArgument, which was not exactly the expected coordinate ($point).';
}else{
if(x!=null&&pointArgument.dx!=x)
throw'It called $methodName with an offset coordinate, $pointArgument, whose x-coordinate not exactly the expected coordinate (${x.toStringAsFixed(1)}).';
throw'It called $methodName with an offset coordinate, $pointArgument, whose x-coordinate not exactly the expected coordinate (${x!.toStringAsFixed(1)}).';
if(y!=null&&pointArgument.dy!=y)
throw'It called $methodName with an offset coordinate, $pointArgument, whose y-coordinate not exactly the expected coordinate (${y.toStringAsFixed(1)}).';
throw'It called $methodName with an offset coordinate, $pointArgument, whose y-coordinate not exactly the expected coordinate (${y!.toStringAsFixed(1)}).';
}
}
...
...
@@ -1336,24 +1334,24 @@ class _DrawImagePaintPredicate extends _DrawCommandPaintPredicate {