copyWith method

QuillIconTheme copyWith({
  1. IconButtonData? iconButtonUnselectedData,
  2. IconButtonData? iconButtonSelectedData,
})

Implementation

QuillIconTheme copyWith({
  IconButtonData? iconButtonUnselectedData,
  IconButtonData? iconButtonSelectedData,
}) {
  return QuillIconTheme(
    iconButtonUnselectedData:
        iconButtonUnselectedData ?? this.iconButtonUnselectedData,
    iconButtonSelectedData:
        iconButtonSelectedData ?? this.iconButtonSelectedData,
  );
}