SelectionRect constructor
- required int position,
- required Rect bounds,
- TextDirection direction = TextDirection.ltr,
Constructor for creating a SelectionRect from a text position
and
bounds
.
Implementation
const SelectionRect({
required this.position,
required this.bounds,
this.direction = TextDirection.ltr,
});