FFListView constructor

FFListView({
  1. bool? legacyShrinkWrap,
  2. FFAxis? axis,
  3. bool? primary,
  4. bool? legacyReverse,
  5. FFListSpacing? listSpacing,
  6. bool? reorderable,
  7. FFBooleanValue? shrinkWrapValue,
  8. FFBooleanValue? reverseValue,
})

Implementation

factory FFListView({
  $core.bool? legacyShrinkWrap,
  FFAxis? axis,
  $core.bool? primary,
  $core.bool? legacyReverse,
  FFListSpacing? listSpacing,
  $core.bool? reorderable,
  FFBooleanValue? shrinkWrapValue,
  FFBooleanValue? reverseValue,
}) {
  final result = create();
  if (legacyShrinkWrap != null) result.legacyShrinkWrap = legacyShrinkWrap;
  if (axis != null) result.axis = axis;
  if (primary != null) result.primary = primary;
  if (legacyReverse != null) result.legacyReverse = legacyReverse;
  if (listSpacing != null) result.listSpacing = listSpacing;
  if (reorderable != null) result.reorderable = reorderable;
  if (shrinkWrapValue != null) result.shrinkWrapValue = shrinkWrapValue;
  if (reverseValue != null) result.reverseValue = reverseValue;
  return result;
}