FFNodeOutline constructor

FFNodeOutline({
  1. String? key,
  2. FFNodeOutline? appBar,
  3. FFNodeOutline? floatingActionButton,
  4. FFNodeOutline? drawer,
  5. FFNodeOutline? endDrawer,
  6. Iterable<FFNodeOutline>? headers,
  7. Iterable<FFNodeOutline>? columns,
  8. FFNodeOutline? front,
  9. FFNodeOutline? back,
  10. FFNodeOutline? leading,
  11. FFNodeOutline? title,
  12. FFNodeOutline? flexibleSpace,
  13. FFNodeOutline? background,
  14. Iterable<FFNodeOutline>? actions,
  15. FFNodeOutline? bottom,
  16. FFNodeOutline? header,
  17. FFNodeOutline? collapsed,
  18. FFNodeOutline? expanded,
  19. FFNodeOutline? content,
  20. Iterable<FFNodeOutline>? children,
  21. FFNodeOutline? body,
})

Implementation

factory FFNodeOutline({
  $core.String? key,
  FFNodeOutline? appBar,
  FFNodeOutline? floatingActionButton,
  FFNodeOutline? drawer,
  FFNodeOutline? endDrawer,
  $core.Iterable<FFNodeOutline>? headers,
  $core.Iterable<FFNodeOutline>? columns,
  FFNodeOutline? front,
  FFNodeOutline? back,
  FFNodeOutline? leading,
  FFNodeOutline? title,
  FFNodeOutline? flexibleSpace,
  FFNodeOutline? background,
  $core.Iterable<FFNodeOutline>? actions,
  FFNodeOutline? bottom,
  FFNodeOutline? header,
  FFNodeOutline? collapsed,
  FFNodeOutline? expanded,
  FFNodeOutline? content,
  $core.Iterable<FFNodeOutline>? children,
  FFNodeOutline? body,
}) {
  final result = create();
  if (key != null) result.key = key;
  if (appBar != null) result.appBar = appBar;
  if (floatingActionButton != null)
    result.floatingActionButton = floatingActionButton;
  if (drawer != null) result.drawer = drawer;
  if (endDrawer != null) result.endDrawer = endDrawer;
  if (headers != null) result.headers.addAll(headers);
  if (columns != null) result.columns.addAll(columns);
  if (front != null) result.front = front;
  if (back != null) result.back = back;
  if (leading != null) result.leading = leading;
  if (title != null) result.title = title;
  if (flexibleSpace != null) result.flexibleSpace = flexibleSpace;
  if (background != null) result.background = background;
  if (actions != null) result.actions.addAll(actions);
  if (bottom != null) result.bottom = bottom;
  if (header != null) result.header = header;
  if (collapsed != null) result.collapsed = collapsed;
  if (expanded != null) result.expanded = expanded;
  if (content != null) result.content = content;
  if (children != null) result.children.addAll(children);
  if (body != null) result.body = body;
  return result;
}