width property

double width
final

width defines the width of the box occupied by its children.

Note: Make sure your width > childWidth in order to get better results.

Implementation

final double width;