TextSelectionToolbarLayoutDelegate constructor

TextSelectionToolbarLayoutDelegate({
  1. required Offset anchorAbove,
  2. required Offset anchorBelow,
  3. bool? fitsAbove,
})

Creates an instance of TextSelectionToolbarLayoutDelegate.

The fitsAbove parameter is optional; if omitted, it will be calculated.

Implementation

TextSelectionToolbarLayoutDelegate({
  required this.anchorAbove,
  required this.anchorBelow,
  this.fitsAbove,
});