background property

Widget? background
getter/setter pair

The background of the audio chat room.

You can use any Widget as the background of the audio chat room, such as a video, a GIF animation, an image, a web page, etc. If you need to dynamically change the background content, you will need to implement the logic for dynamic modification within the Widget you return.


 // eg:
..background = Container(
    width: size.width,
    height: size.height,
    decoration: const BoxDecoration(
      image: DecorationImage(
        fit: BoxFit.fitHeight,
        image: ,
      )));

Implementation

Widget? background;