hBox method

SizedBox hBox([
  1. Widget? child
])

Creates a fixed height SizedBox with the specified height equal to this num.

child is an optional child widget to be placed inside the SizedBox.

Implementation

SizedBox hBox([Widget? child]) => SizedBox(height: toDouble(), child: child);