gameSelectionCss top-level constant
String
const gameSelectionCss
Selection and the long-press callout stay off everywhere except text
inputs. Same string as Android GAME_SELECTION_CSS and iOS
GameWebViewHost.selectionStyle.
Implementation
const String gameSelectionCss =
'* { -webkit-user-select: none !important; user-select: none !important; '
'-webkit-touch-callout: none !important; } '
'input, textarea, [contenteditable], [contenteditable] * { '
'-webkit-user-select: text !important; user-select: text !important; '
'-webkit-touch-callout: default !important; }';