setBackground method

void setBackground(
  1. Color c, {
  2. Object? vid,
})

Implementation

void setBackground(ui.Color c, {Object? vid}) =>
    _player.ref.setBackgroundColor.asFunction<
            void Function(Pointer<mdkPlayer>, double, double, double, double,
                Pointer<Void>)>()(
        _player.ref.object,
        c.red / 255,
        c.green / 255,
        c.blue / 255,
        c.alpha / 255,
        Pointer.fromAddress(vid.hashCode));