objectFit property

  1. @override
BoxFit get objectFit
override

Implementation

@override
BoxFit get objectFit => _objectFit ?? BoxFit.fill;
set objectFit (BoxFit? value)

Implementation

set objectFit(BoxFit? value) {
  if (_objectFit == value) return;
  _objectFit = value;
  renderBoxModel?.markNeedsLayout();
}