update method

*[<Null safety>](https://dart.dev/null-safety)*

Future<void> update ({bool focusable = true, bool hitTestable = true, dynamic viewOcclusionHint = Rect.zero})

Updates properties on the platform view given it's viewId.

Called by FuchsiaView when the focusable or hitTestable or viewOcclusionHint properties are changed. This MUST NOT be called directly.

Implementation

Future<void> update({
  bool focusable = true,
  bool hitTestable = true,
  Rect viewOcclusionHint = Rect.zero,
}) async {
  return FuchsiaViewsService.instance.updateView(
    viewId,
    hitTestable: hitTestable,
    focusable: focusable,
    viewOcclusionHint: viewOcclusionHint,
  );
}