@override Widget build(Context context) { return ConstrainedBox( child: child, constraints: BoxConstraints.tightFor(width: width, height: height)); }