Skip to content

Commit c1775aa

Browse files
Fix: Use **params**: format for custom linter compliance
1 parent d80832c commit c1775aa

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

test/widget_tests/painters/painter_test_helpers.dart

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,11 @@ import 'package:flutter_test/flutter_test.dart';
88
/// This helper creates a standard MaterialApp scaffold with a CustomPaint
99
/// widget for testing custom painters in a consistent way across all tests.
1010
///
11-
/// @param painter The CustomPainter instance to test.
12-
/// @param key A unique key to identify the CustomPaint widget in tests.
13-
/// @param width The width of the canvas (default: 200).
14-
/// @param height The height of the canvas (default: 200).
11+
/// **params**:
12+
/// * `painter`: The CustomPainter instance to test.
13+
/// * `key`: A unique key to identify the CustomPaint widget in tests.
14+
/// * `width`: The width of the canvas (default: 200).
15+
/// * `height`: The height of the canvas (default: 200).
1516
Widget buildPainterTestWidget({
1617
required CustomPainter painter,
1718
required Key key,
@@ -39,7 +40,8 @@ Widget buildPainterTestWidget({
3940
/// Verifies that the [paint] method completes without throwing exceptions
4041
/// for various standard and edge-case canvas sizes.
4142
///
42-
/// @param createPainter A factory function that returns a new instance of the [CustomPainter] to test.
43+
/// **params**:
44+
/// * `createPainter`: A factory function that returns a new instance of the [CustomPainter] to test.
4345
void runPaintSmokeTests(CustomPainter Function() createPainter) {
4446
group('paint() method smoke tests', () {
4547
final sizes = [

0 commit comments

Comments
 (0)