fromDescriptionView method

TitledViewController fromDescriptionView(
  1. TitledView view
)

Implementation

TitledViewController fromDescriptionView(TitledView view) {
  super.fromView(view);

  /// TITLE CONTENTS
  title = view.title;
  titleColor = view.titleColor;
  titleSize = view.titleSize;
  titleFontFamily = view.titleFontFamily;
  titleFontWeight = view.titleFontWeight;

  /// BODY CONTENTS
  subtitle = view.subtitle;
  subtitleColor = view.subtitleColor;
  subtitleSize = view.subtitleSize;
  subtitleFontFamily = view.subtitleFontFamily;
  subtitleFontWeight = view.subtitleFontWeight;
  return this;
}