Category Archives: Testing Flutter Apps

How to do Unit Test of functions and Widgets in Flutter?

By | September 24, 2018

Lets see how we can test Flutter Apps. It would be easy if we continue from the previous example…   To test Widgets, we will use the ‘testWidgets’ function. Lets see how it will look like… The test function in MyHomePage will look like this Run Tests To run test we have to run ‘flutter test test/widget_test.dart’ in… Read More »