constraints property

BoxConstraints? constraints
final

Constrains the size of the Tooltip's message.

If null, then the TooltipThemeData.constraints of the ambient ThemeData.tooltipTheme will be used. If that is also null, then a default value will be picked based on the current platform. For desktop platforms, the default value is BoxConstraints(minHeight: 24.0), while for mobile platforms the default value is BoxConstraints(minHeight: 32.0).

Implementation

final BoxConstraints? constraints;