copyWith method

PullDownMenuDividerTheme copyWith({
  1. Color? dividerColor,
  2. Color? largeDividerColor,
})

Creates a copy of this object with the given fields replaced with the new values.

Implementation

PullDownMenuDividerTheme copyWith({
  Color? dividerColor,
  Color? largeDividerColor,
}) =>
    PullDownMenuDividerTheme(
      dividerColor: dividerColor ?? this.dividerColor,
      largeDividerColor: largeDividerColor ?? this.largeDividerColor,
    );