There are cases when you do not want the 'IntegrationTestWidgetsFlutterBinding.ensureInitialized();' to be include in the generated code. For example with the current patrol version.
For this case, I have added the option includeIntegrationTestBinding with the default of true. If you set this option to false the line will not be written in the generated test file
Thanks for the PR! I hope you don't mind that I slightly changed the implementation in some places. I'll publish a new version with your changes later today.
There are cases when you do not want the 'IntegrationTestWidgetsFlutterBinding.ensureInitialized();' to be include in the generated code. For example with the current patrol version.
For this case, I have added the option
includeIntegrationTestBinding
with the default oftrue
. If you set this option tofalse
the line will not be written in the generated test file