textSelectionControlsFor function

TextSelectionControls textSelectionControlsFor(
  1. TargetPlatform platform
)

Implementation

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