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

update method

*<Null safety>*

Future<void> update ({bool focusable: true, bool hitTestable: true, dynamic viewOcclusionHint:})

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

Called by FuchsiaView when the focusable or hitTestable or viewOcclusionHint properties are changed.


Future<void> update({
  bool focusable = true,
  bool hitTestable = true,
  Rect viewOcclusionHint =,
}) async {
  return fuchsiaViewsService.updateView(
    hitTestable: hitTestable,
    focusable: focusable,
    viewOcclusionHint: viewOcclusionHint,