justifyContent property

  1. @override
JustifyContent get justifyContent
override

Implementation

@override
JustifyContent get justifyContent {
  final JustifyContent? value = _justifyContent;
  if (value != null) return value;
  if (isSelfRenderGridLayout()) return JustifyContent.stretch;
  return JustifyContent.flexStart;
}
set justifyContent (JustifyContent? value)

Implementation

set justifyContent(JustifyContent? value) {
  if (_justifyContent == value) return;
  _justifyContent = value;
  if (isSelfRenderFlexLayout() || isSelfRenderGridLayout()) {
    markNeedsLayout();
  }
}