textSelectionControlsFor function
Implementation
TextSelectionControls textSelectionControlsFor(TargetPlatform platform) =>
switch (platform) {
TargetPlatform.android ||
TargetPlatform.iOS ||
TargetPlatform.fuchsia => _touchTextSelectionControls,
TargetPlatform.macOS ||
TargetPlatform.linux ||
TargetPlatform.windows => _pointerTextSelectionControls,
};