fitIn method

void fitIn(
  1. FitInStyle style
)

Implementation

void fitIn(FitInStyle style) {
  if (!_hasResize) {
    throw StateError('Resize must be called first');
  }

  _fitInStyle = style;
}