Skip to content

Commit 3a182e9

Browse files
committed
Document painting golden test helper
1 parent 0e7379e commit 3a182e9

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

packages/flutter/test/painting/continuous_rectangle_border_test.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ const Color _green400 = Color(0xFF66BB6A);
1818
const Color _green500 = Color(0xFF4CAF50);
1919
const Color _redAccent400 = Color(0xFFFF1744);
2020

21+
/// Builds a repaint boundary for golden testing a [ContinuousRectangleBorder].
2122
Widget _buildGoldenTest({required Color color, required BorderRadiusGeometry borderRadius}) {
2223
return RepaintBoundary(
2324
child: DecoratedBox(

0 commit comments

Comments
 (0)