testing library
Test helpers for apps that use bouncy_button.
Import it in your widget tests only:
import 'package:bouncy_button/testing.dart';
Functions
-
expectAccessibleButton(
WidgetTester tester, Finder finder, {int pressCount()?, bool checkContrast = true}) → Future< void> -
Checks that the button
finderfinds can be used by everyone, and fails the test with an explanation if not.