intrinsicWidth method

IntrinsicWidth intrinsicWidth({
  1. Key? key,
  2. double? stepWidth,
  3. double? stepHeight,
})

Returns a new IntrinsicWidth widget.

The stepWidth and stepHeight parameters are used to set the width and height of the widget.

Implementation

IntrinsicWidth intrinsicWidth({
  Key? key,
  double? stepWidth,
  double? stepHeight,
}) {
  return IntrinsicWidth(
    key: key,
    stepHeight: stepHeight,
    stepWidth: stepWidth,
    child: this,
  );
}