FFEmptyListWidget constructor

FFEmptyListWidget({
  1. bool? show,
  2. bool? displayInFlutterFlow,
  3. FFImage? image,
  4. bool? center,
  5. FFIcon? legacyIcon,
  6. @Deprecated('This field is deprecated.') String? legacyComponentClassName,
  7. FFDimensions? componentDimensions,
  8. FFPassedParameters? componentParameters,
  9. @Deprecated('This field is deprecated.') String? legacyComponentClassNodeKey,
  10. FFNodeKeyReference? componentClassNodeKeyRef,
  11. FFIconValue? iconValue,
})

Implementation

factory FFEmptyListWidget({
  $core.bool? show,
  $core.bool? displayInFlutterFlow,
  FFImage? image,
  $core.bool? center,
  FFIcon? legacyIcon,
  @$core.Deprecated('This field is deprecated.')
  $core.String? legacyComponentClassName,
  FFDimensions? componentDimensions,
  FFPassedParameters? componentParameters,
  @$core.Deprecated('This field is deprecated.')
  $core.String? legacyComponentClassNodeKey,
  FFNodeKeyReference? componentClassNodeKeyRef,
  FFIconValue? iconValue,
}) {
  final result = create();
  if (show != null) result.show = show;
  if (displayInFlutterFlow != null)
    result.displayInFlutterFlow = displayInFlutterFlow;
  if (image != null) result.image = image;
  if (center != null) result.center = center;
  if (legacyIcon != null) result.legacyIcon = legacyIcon;
  if (legacyComponentClassName != null)
    result.legacyComponentClassName = legacyComponentClassName;
  if (componentDimensions != null)
    result.componentDimensions = componentDimensions;
  if (componentParameters != null)
    result.componentParameters = componentParameters;
  if (legacyComponentClassNodeKey != null)
    result.legacyComponentClassNodeKey = legacyComponentClassNodeKey;
  if (componentClassNodeKeyRef != null)
    result.componentClassNodeKeyRef = componentClassNodeKeyRef;
  if (iconValue != null) result.iconValue = iconValue;
  return result;
}