MethodChannelHaloVideoplayer constructor

MethodChannelHaloVideoplayer()

Implementation

MethodChannelHaloVideoplayer() {
  // Listen to platform messages for value updates
  // Handler will be set when binding is initialized
  // In tests, ensure TestWidgetsFlutterBinding.ensureInitialized() is called first
  try {
    methodChannel.setMethodCallHandler(_handleMethodCall);
  } catch (_) {
    // Binding not initialized yet - handler will be set when needed
    // This can happen during static initialization in tests
  }
}