FFCustomDialogAction constructor

FFCustomDialogAction({
  1. @Deprecated('This field is deprecated.') String? legacyComponentClassNodeKey,
  2. FFPassedParameters? passedParameters,
  3. FFDimensions? dimensions,
  4. @Deprecated('This field is deprecated.') FFValue? legacyBackgroundColor,
  5. FFValue? barrierColor,
  6. @Deprecated('This field is deprecated.') bool? legacyNonBlocking,
  7. bool? nonDismissible,
  8. bool? isGlobal,
  9. FFAlignment? followerAnchor,
  10. FFAlignment? targetAnchor,
  11. @Deprecated('This field is deprecated.') FFOffset? legacyOffset,
  12. bool? avoidOverflow,
  13. FFNodeKeyReference? componentClassNodeKeyRef,
})

Implementation

factory FFCustomDialogAction({
  @$core.Deprecated('This field is deprecated.')
  $core.String? legacyComponentClassNodeKey,
  FFPassedParameters? passedParameters,
  FFDimensions? dimensions,
  @$core.Deprecated('This field is deprecated.')
  FFValue? legacyBackgroundColor,
  FFValue? barrierColor,
  @$core.Deprecated('This field is deprecated.')
  $core.bool? legacyNonBlocking,
  $core.bool? nonDismissible,
  $core.bool? isGlobal,
  FFAlignment? followerAnchor,
  FFAlignment? targetAnchor,
  @$core.Deprecated('This field is deprecated.') FFOffset? legacyOffset,
  $core.bool? avoidOverflow,
  FFNodeKeyReference? componentClassNodeKeyRef,
}) {
  final result = create();
  if (legacyComponentClassNodeKey != null)
    result.legacyComponentClassNodeKey = legacyComponentClassNodeKey;
  if (passedParameters != null) result.passedParameters = passedParameters;
  if (dimensions != null) result.dimensions = dimensions;
  if (legacyBackgroundColor != null)
    result.legacyBackgroundColor = legacyBackgroundColor;
  if (barrierColor != null) result.barrierColor = barrierColor;
  if (legacyNonBlocking != null) result.legacyNonBlocking = legacyNonBlocking;
  if (nonDismissible != null) result.nonDismissible = nonDismissible;
  if (isGlobal != null) result.isGlobal = isGlobal;
  if (followerAnchor != null) result.followerAnchor = followerAnchor;
  if (targetAnchor != null) result.targetAnchor = targetAnchor;
  if (legacyOffset != null) result.legacyOffset = legacyOffset;
  if (avoidOverflow != null) result.avoidOverflow = avoidOverflow;
  if (componentClassNodeKeyRef != null)
    result.componentClassNodeKeyRef = componentClassNodeKeyRef;
  return result;
}