Skip to content

Commit fda1676

Browse files
committed
Update documentation
1 parent febecd4 commit fda1676

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -326,6 +326,7 @@ targets:
326326
options:
327327
customHeaders:
328328
- "import 'package:flutter_test/flutter_test.dart';"
329+
- "import 'package:patrol/patrol.dart';"
329330
- "// Custom test utilities"
330331
- "import 'package:my_custom_package/my_helper.dart';"
331332
```
@@ -337,8 +338,6 @@ This is useful when you need to:
337338
- Include custom test utilities, mocks, or constants
338339
- Add custom comments or documentation to generated files
339340

340-
**Important**: When `customHeaders` are provided, the default imports (`import 'package:flutter/material.dart';` and `import 'package:flutter_test/flutter_test.dart';`) are **not** automatically included in feature files, and the default `import 'package:flutter_test/flutter_test.dart';` is not included in step files. You have full control over what imports and content are added to your generated files.
341-
342341
The custom headers will be added to:
343342
- **Feature files**: After any data table imports, replacing the default flutter/material and flutter_test imports
344343
- **Step files**: After any data table imports, replacing the default flutter_test import

0 commit comments

Comments
 (0)