background method

BloomNativeNode background(
  1. Color color, {
  2. String? key,
})

Implementation

BloomNativeNode background(Color color, {String? key}) => BloomNativeNode(
    type: 'background',
    key: key,
    props: {'color': color.toARGB32()},
    slots: {'content': this});