FFLoadingWidget constructor
FFLoadingWidget({
- FFLoadingWidget_DefaultLoadingIndicator? defaultLoadingIndicator,
- FFLoadingIndicator? loadingIndicator,
- @Deprecated('This field is deprecated.') String? legacyComponentClassName,
- FFDimensions? componentDimensions,
- FFPassedParameters? componentParameters,
- FFPadding? padding,
- FFImage? image,
- @Deprecated('This field is deprecated.') String? legacyComponentClassNodeKey,
- FFNodeKeyReference? componentClassNodeKeyRef,
Implementation
factory FFLoadingWidget({
FFLoadingWidget_DefaultLoadingIndicator? defaultLoadingIndicator,
FFLoadingIndicator? loadingIndicator,
@$core.Deprecated('This field is deprecated.')
$core.String? legacyComponentClassName,
FFDimensions? componentDimensions,
FFPassedParameters? componentParameters,
FFPadding? padding,
FFImage? image,
@$core.Deprecated('This field is deprecated.')
$core.String? legacyComponentClassNodeKey,
FFNodeKeyReference? componentClassNodeKeyRef,
}) {
final result = create();
if (defaultLoadingIndicator != null)
result.defaultLoadingIndicator = defaultLoadingIndicator;
if (loadingIndicator != null) result.loadingIndicator = loadingIndicator;
if (legacyComponentClassName != null)
result.legacyComponentClassName = legacyComponentClassName;
if (componentDimensions != null)
result.componentDimensions = componentDimensions;
if (componentParameters != null)
result.componentParameters = componentParameters;
if (padding != null) result.padding = padding;
if (image != null) result.image = image;
if (legacyComponentClassNodeKey != null)
result.legacyComponentClassNodeKey = legacyComponentClassNodeKey;
if (componentClassNodeKeyRef != null)
result.componentClassNodeKeyRef = componentClassNodeKeyRef;
return result;
}