Created
July 19, 2020 14:29
-
-
Save BouweCeunen/737f2cfc8a48b814829ef146d1386cc2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'package:flutter_driver/driver_extension.dart'; | |
import 'package:<package>/main.dart' as app; | |
void main() { | |
// This line enables the extension. | |
enableFlutterDriverExtension(); | |
// Call the `main()` function of the app, or call `runApp` with | |
// any widget you are interested in testing. | |
app.main(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment