shrinkWrap property

bool shrinkWrap
final

A parameter that should be set when the HTML widget is expected to be have a flexible width, that doesn't always fill its maximum width constraints. For example, auto horizontal margins are ignored, and block-level elements only take up the width they need.

Implementation

final bool shrinkWrap;