copyWith method

EmojiPickerController copyWith({
  1. Category? category,
})

Creates a copy of this controller with the same current category.

Implementation

EmojiPickerController copyWith({Category? category}) {
  return EmojiPickerController(initialCategory: category ?? _currentCategory);
}