FFGenUIChatHeaderConfig constructor

FFGenUIChatHeaderConfig({
  1. bool? showHeader,
  2. FFStringValue? title,
  3. FFColorValue? backgroundColor,
  4. FFColorValue? textColor,
})

Implementation

factory FFGenUIChatHeaderConfig({
  $core.bool? showHeader,
  FFStringValue? title,
  FFColorValue? backgroundColor,
  FFColorValue? textColor,
}) {
  final result = create();
  if (showHeader != null) result.showHeader = showHeader;
  if (title != null) result.title = title;
  if (backgroundColor != null) result.backgroundColor = backgroundColor;
  if (textColor != null) result.textColor = textColor;
  return result;
}