vyuh_test
Test utilities help wait for the platform to reach ready/error and provide a mocked BuildContext. Use them with flutter_test and await disposal between independently initialized platforms.
How the pieces fit together
Choose a declaration
ReadyCheck
Extension to help with testing platform readiness
dart
extension ReadyCheck on VyuhPlatformDirectly declared public members:
dart
Future<void> getReady(WidgetTester tester);Waits for the platform to be ready or in error state
TestBuildContext
Public declaration in this package.
dart
class TestBuildContext extends Mock implements BuildContext