Range

@Immutable
class Range<T>(val item: T, val start: Int, val end: Int)

The information attached on the text such as a SpanStyle.

Parameters

item

The object attached to AnnotatedStrings.

start

The start of the range where item takes effect. It's inclusive

end

The end of the range where item takes effect. It's exclusive

Constructors

Link copied to clipboard
constructor(item: T, start: Int, end: Int)

Properties

Link copied to clipboard
val end: Int
Link copied to clipboard
val item: T
Link copied to clipboard
val start: Int