diff --git a/packages/flutter/lib/src/cupertino/app.dart b/packages/flutter/lib/src/cupertino/app.dart index 449eedb3405..d2caad7ebff 100644 --- a/packages/flutter/lib/src/cupertino/app.dart +++ b/packages/flutter/lib/src/cupertino/app.dart @@ -568,9 +568,9 @@ class _CupertinoAppState extends State { return _CupertinoInspectorButton.toggle( onPressed: onPressed, semanticsLabel: semanticsLabel, - // This icon is also used for the Material-styled button and for DevTools. - // It should be updated in all 3 places if changed. - icon: CupertinoIcons.cursor_rays, + // This unicode icon is also used for the Material-styled button and for + // DevTools. It should be updated in all 3 places if changed. + icon: const IconData(0x1F74A), toggledOn: selectionOnTapEnabled, ); } diff --git a/packages/flutter/lib/src/material/app.dart b/packages/flutter/lib/src/material/app.dart index e40ccd51e79..f1852af900c 100644 --- a/packages/flutter/lib/src/material/app.dart +++ b/packages/flutter/lib/src/material/app.dart @@ -970,9 +970,9 @@ class _MaterialAppState extends State { return _MaterialInspectorButton.toggle( onPressed: onPressed, semanticsLabel: semanticsLabel, - // This icon is also used for the Cupertino-styled button and for DevTools. - // It should be updated in all 3 places if changed. - icon: CupertinoIcons.cursor_rays, + // This unicode icon is also used for the Cupertino-styled button and for + // DevTools. It should be updated in all 3 places if changed. + icon: const IconData(0x1F74A), isDarkTheme: _isDarkTheme(context), toggledOn: selectionOnTapEnabled, );