TextRange copyWith({ int? offset, int? length, }) => TextRange( offset: offset ?? this.offset, length: length ?? this.length, );