constraints property

BoxConstraints? constraints
final

Optional size constraints for the search bar.

If null, the value of SearchBarThemeData.constraints will be used. If this is also null, then the constraints defaults to:

const BoxConstraints(minWidth: 360.0, maxWidth: 800.0, minHeight: 56.0)

Implementation

final BoxConstraints? constraints;