focusEffect property

UIFocusEffect? get focusEffect

Describes a visual effect to apply when this item is focused. If this property is nil no effect will be applied when this view becomes focused.

Implementation

UIFocusEffect? get focusEffect {
  objc.checkOsVersionInternal('UIView.focusEffect', iOS: (false, (15, 0, 0)));
  final $ret = _objc_msgSend_151sglz(object$.ref.pointer, _sel_focusEffect);
  return $ret.address == 0 ? null : UIFocusEffect.fromPointer($ret, retain: true, release: true);
}
set focusEffect (UIFocusEffect? value)

Describes a visual effect to apply when this item is focused. If this property is nil no effect will be applied when this view becomes focused.

Implementation

set focusEffect(UIFocusEffect? value) {
  objc.checkOsVersionInternal('UIView.setFocusEffect:', iOS: (false, (15, 0, 0)));
  _objc_msgSend_xtuoz7(object$.ref.pointer, _sel_setFocusEffect_, value?.ref.pointer ?? ffi.nullptr);
}