Google is committed to advancing racial equity for Black communities. See how.

connect method

Future<void> connect ({bool hitTestable, bool focusable})

Called by ChildViewRenderBox2 when the platform view is ready to be initialized.

Implementation

Future<void> connect({bool hitTestable, bool focusable}) async {
  final args = <String, dynamic>{
    'viewId': viewId,
    'hitTestable': hitTestable,
    'focusable': focusable,
  };
  await _platformViewChannel.invokeMethod('View.create', args);
}