Test behavior of widgets in Flutter
Our widget tests should give us confidence about how they respond to user interactions - its behavior.
Using the CustomButton widget from a previous post, we can test if it fires its onPressed callback when tapped on all platforms.
Testing the behavi...
arthurdenner.hashnode.dev3 min read