width property

double? width
final

The width of the background.

If null, it will default to the width of the screen.

If set to 0 or less, it will shrinkwrap the width to the size of the child.

Implementation

final double? width;