setTitleColor method

void setTitleColor(
  1. UIColor? color, {
  2. required int forState,
})

setTitleColor:forState:

Implementation

void setTitleColor(UIColor? color, {required int forState}) {
  final _$$ref = object$.ref;
  final _$$ref$1 = color?.ref;
  objc.checkOsVersionInternal('UIButton.setTitleColor:forState:', iOS: (false, (2, 0, 0)));
  _objc_msgSend_dldayz(_$$ref.pointer, _sel_setTitleColor_forState_, _$$ref$1?.pointer ?? ffi.nullptr, forState);
}