backgroundColor property

Color get backgroundColor

Implementation

Color get backgroundColor {
  final raw = c.native_view_get_background_color(nativeHandle);
  return Color.fromNative(raw);
}
set backgroundColor (Color value)

Implementation

set backgroundColor(Color value) {
  final valuePointer = value.allocNative();
  c.native_view_set_background_color(nativeHandle, valuePointer.ref);
  Color.freeNative(valuePointer);
}