width property

double? width
final

Artificial width constraint to be applied to the child.

If not provided, the previewed widget will attempt to set its own width constraints and may result in an unbounded constraint error.

Implementation

final double? width;