textSelectionColorOf function

Color textSelectionColorOf(
  1. ColorScheme colorScheme
)

The selected text's background, at the opacities iOS 27 gives it.

Implementation

Color textSelectionColorOf(ColorScheme colorScheme) => colorScheme.primary
    .withValues(alpha: colorScheme.brightness == Brightness.dark ? 0.35 : 0.2);