FlexLayoutParams constructor

FlexLayoutParams(
  1. double width,
  2. double height,
  3. int widthMode,
  4. int heightMode,
)

Implementation

FlexLayoutParams(this.width, this.height, int widthMode, int heightMode)
    : widthMode = flexMeasureModeFromInt(widthMode),
      heightMode = flexMeasureModeFromInt(heightMode);