ensureInitialized static method
override
Returns an instance of the IntegrationTestWidgetsFlutterBinding, creating and initializing it if necessary.
See also:
- WidgetsFlutterBinding.ensureInitialized, the equivalent in the widgets framework.
Implementation
static IntegrationTestWidgetsFlutterBinding ensureInitialized() {
if (_instance == null) {
IntegrationTestWidgetsFlutterBinding();
}
return _instance!;
}