connect method

*<Null safety>*

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

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);
}