apply property

set apply (NikuAlert? v)
override

Implementation

set apply(NikuAlert? v) {
  if (v == null) return;

  title = title ?? title;
  titlePadding?.apply = titlePadding ?? titlePadding;
  titleTextStyle = titleTextStyle ?? titleTextStyle;
  content = content ?? content;
  contentPadding?.apply = contentPadding ?? contentPadding;
  contentTextStyle = contentTextStyle ?? contentTextStyle;
  actions = actions ?? actions;
  actionsPadding?.apply = actionsPadding ?? actionsPadding;
  actionsAlignment = actionsAlignment ?? actionsAlignment;
  actionsOverflowDirection =
      actionsOverflowDirection ?? actionsOverflowDirection;
  actionsOverflowButtonSpacing =
      actionsOverflowButtonSpacing ?? actionsOverflowButtonSpacing;
  buttonPadding?.apply = buttonPadding ?? buttonPadding;
  backgroundColor = backgroundColor ?? backgroundColor;
  elevation = elevation ?? elevation;
  semanticLabel = semanticLabel ?? semanticLabel;
  insetPadding?.apply = insetPadding ?? insetPadding;
  clipBehavior = clipBehavior ?? clipBehavior;
  shape = shape ?? shape;
  scrollable = scrollable ?? scrollable;

  $parent.$merge(v.$parent);
}