selectionIndicatorTintColor property

UIColor? get selectionIndicatorTintColor

A color to use for the selectionIndicator, its specific behavior depends on the value of selectionIndicatorImage. If selectionIndicatorImage is nil, then the selectionIndicatorTintColor is used to color the UITabBar's default selection indicator; a nil or clearColor selectionIndicatorTintColor will result in no indicator. If selectionIndicatorImage is a template image, then the selectionIndicatorTintColor is used to tint the image; a nil or clearColor selectionIndicatorTintColor will also result in no indicator. If the selectionIndicatorImage is not a template image, then it will be rendered without respect to the value of selectionIndicatorTintColor.

Implementation

UIColor? get selectionIndicatorTintColor {
  objc.checkOsVersionInternal('UITabBarAppearance.selectionIndicatorTintColor', iOS: (false, (13, 0, 0)));
  final $ret = _objc_msgSend_151sglz(object$.ref.pointer, _sel_selectionIndicatorTintColor);
  return $ret.address == 0 ? null : UIColor.fromPointer($ret, retain: true, release: true);
}
set selectionIndicatorTintColor (UIColor? value)

A color to use for the selectionIndicator, its specific behavior depends on the value of selectionIndicatorImage. If selectionIndicatorImage is nil, then the selectionIndicatorTintColor is used to color the UITabBar's default selection indicator; a nil or clearColor selectionIndicatorTintColor will result in no indicator. If selectionIndicatorImage is a template image, then the selectionIndicatorTintColor is used to tint the image; a nil or clearColor selectionIndicatorTintColor will also result in no indicator. If the selectionIndicatorImage is not a template image, then it will be rendered without respect to the value of selectionIndicatorTintColor.

Implementation

set selectionIndicatorTintColor(UIColor? value) {
  objc.checkOsVersionInternal('UITabBarAppearance.setSelectionIndicatorTintColor:', iOS: (false, (13, 0, 0)));
  _objc_msgSend_xtuoz7(object$.ref.pointer, _sel_setSelectionIndicatorTintColor_, value?.ref.pointer ?? ffi.nullptr);
}