copyWith method

LookAndFeel copyWith({
  1. LookAndFeelHeadings? headings,
  2. LookAndFeelLinks? links,
  3. MenusLookAndFeel? menus,
  4. HeaderLookAndFeel? header,
  5. HorizontalHeaderLookAndFeel? horizontalHeader,
  6. ContentLookAndFeel? content,
  7. LookAndFeelBordersAndDividers? bordersAndDividers,
  8. Map<String, dynamic>? spaceReference,
})

Implementation

LookAndFeel copyWith(
    {LookAndFeelHeadings? headings,
    LookAndFeelLinks? links,
    MenusLookAndFeel? menus,
    HeaderLookAndFeel? header,
    HorizontalHeaderLookAndFeel? horizontalHeader,
    ContentLookAndFeel? content,
    LookAndFeelBordersAndDividers? bordersAndDividers,
    Map<String, dynamic>? spaceReference}) {
  return LookAndFeel(
    headings: headings ?? this.headings,
    links: links ?? this.links,
    menus: menus ?? this.menus,
    header: header ?? this.header,
    horizontalHeader: horizontalHeader ?? this.horizontalHeader,
    content: content ?? this.content,
    bordersAndDividers: bordersAndDividers ?? this.bordersAndDividers,
    spaceReference: spaceReference ?? this.spaceReference,
  );
}