build method

  1. @override
Widget build(
  1. Context context
)
override

Implementation

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