Skip to content

Commit 4d4e8d4

Browse files
authored
Fix number of arguments of overridden methods from _FluentTextSelectionControls (bdlukaa#68)
2 parents 75c3bce + 0810b31 commit 4d4e8d4

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

lib/src/controls/form/selection_controls.dart

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,13 +52,20 @@ class _FluentTextSelectionControls extends TextSelectionControls {
5252
TextSelectionHandleType type,
5353
double textLineHeight, [
5454
VoidCallback? onTap,
55+
double? startGlyphHeight,
56+
double? endGlyphHeight,
5557
]) {
5658
return const SizedBox.shrink();
5759
}
5860

5961
/// Gets the position for the text selection handles, but desktop has none.
6062
@override
61-
Offset getHandleAnchor(TextSelectionHandleType type, double textLineHeight) {
63+
Offset getHandleAnchor(
64+
TextSelectionHandleType type,
65+
double textLineHeight, [
66+
double? startGlyphHeight,
67+
double? endGlyphHeight,
68+
]) {
6269
return Offset.zero;
6370
}
6471

0 commit comments

Comments
 (0)