addHorizontalSpace function

Widget addHorizontalSpace(
  1. double width
)

Returns a SizedBox widget with a specified width.

The width parameter is required and specifies the width of the SizedBox widget.

Example usage:

addHorizontalSpace(20),

Implementation

Widget addHorizontalSpace(double width) {
  return SizedBox(
    width: width,
  );
}