The test-control extension may be added to the normal application entry point
Source references: 2The instructions permit modifying the usual `lib/main.dart` and require enabling the Flutter Driver extension unconditionally before `runApp()`. They do not isolate it behind a build-mode guard or require verification that production builds exclude that entry point.
If the same entry point is later used for a non-test or released build, the application will contain a control interface intended for test automation, expanding the surface through which its UI can be inspected and manipulated.
The instructions explicitly allow modifying the normal `lib/main.dart` and enabling the Flutter Driver extension before `runApp()`; the checklist repeats that injection. A dedicated `main_test.dart` is offered as an alternative, but test-only gating is not required. If the normal entry point is chosen, the control extension could enter non-test builds and broaden automated control or inspection of the app. Users can require a separate test entry point and verification that release builds exclude the extension.
```2. Enable the Flutter Driver extension in your application entry point (typically `lib/main.dart` or a dedicated `lib/main_test.dart`): - Import `package:flutter_driver/driver_extension.dart`. - Call `enableFlutterDriverExtension();` before `runApp()`.3. Add `Key` parameters (e.g., `ValueKey('login_button')`) to critical widgets in the application code to ensure reliable targeting during tests.Show 1 other places
- [ ] **Task Progress: Setup** - [ ] Add `integration_test` and `flutter_test` to `pubspec.yaml`. - [ ] Inject `enableFlutterDriverExtension()` into the app entry point. - [ ] Assign `ValueKey`s to target widgets.- [ ] **Task Progress: Exploration**