wBox method

SizedBox wBox([
  1. Widget? child
])

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

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

Implementation

SizedBox wBox([Widget? child]) => SizedBox(width: toDouble(), child: child);