Tag Archives: flutter test

Flutter Tutorials – Animated Container – Animate a widget in Flutter

By | January 31, 2019

Article shows how to use Animated Containers in Flutter. AnimatedContainer are used for Implicit animations in Flutter. Here we will be investigating AnimatedContainer, AnimatedCrossFade and AnimatedOpacity.   Watch Video Tutorial     AnimatedContainer   This by default uses Linear Interpolation to transition to the new values. Specify the duration to AnimatedCrossFade Here we will animate between two images,… Read More »

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 »