setViewProperties method

*<Null safety>*

void setViewProperties ({bool? focusable: true, bool? hitTestable: true})

Implementation

void setViewProperties({bool? focusable = true, bool? hitTestable = true}) {
  final args = <String, dynamic>{
    'viewId': viewId,
    'hitTestable': hitTestable,
    'focusable': focusable,
  };
  _platformViewChannel.invokeMethod('View.update', args);
}