Word copyWith({ String? word, Rect? rect, TextRange? range, }) { return Word( word: word ?? this.word, rect: rect ?? this.rect, range: range ?? this.range, ); }