fromContentView method

ContentViewController fromContentView(
  1. ContentView view
)

Implementation

ContentViewController fromContentView(ContentView view) {
  super.fromView(view);
  header = view.header;
  description = view.description;
  dotStyle = view.dotStyle ?? DotStyle.bullet;
  paragraphs = view.paragraphs ?? [];
  paragraphStyle = view.paragraphStyle ?? const ContentStyle();
  _titleStyle = view.titleStyle;
  return this;
}