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(this.ref.pointer, _sel_focusEffect);
  return _ret.address == 0 ? null : UIFocusEffect.castFromPointer(_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(this.ref.pointer, _sel_setFocusEffect_, value?.ref.pointer ?? ffi.nullptr);
}