copyWith method

MessageListViewThemeData copyWith({
  1. Color? backgroundColor,
  2. DecorationImage? backgroundImage,
})

Copies this MessageListViewThemeData to another.

Implementation

MessageListViewThemeData copyWith({
  Color? backgroundColor,
  DecorationImage? backgroundImage,
}) =>
    MessageListViewThemeData(
      backgroundColor: backgroundColor ?? this.backgroundColor,
      backgroundImage: backgroundImage ?? this.backgroundImage,
    );