Comments (3)
See https://api.flutter.dev/flutter/material/TextSelectionTheme-class.html :)
from flutter.
Thanks for your quick response! :) Okay, this really helped me to solve the problem.
But it is important to read the documentation for the selectionHandleColor
parameter in TextSelectionThemeData
: For iOS it is necessary to define the color for the two selector pins via CupertinoThemeData.primaryColor
. So the following code solved my problem:
MaterialApp(
theme: ThemeData(
cupertinoOverrideTheme: const CupertinoThemeData().copyWith(primaryColor: Colors.blue),
textSelectionTheme: TextSelectionThemeData(
cursorColor: Colors.blue,
selectionHandleColor: Colors.blue,
selectionColor: Colors.blue,
),
// ...
),
//...
);
from flutter.
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v
and a minimal reproduction of the issue.
from flutter.
Related Issues (20)
- Flutter doctor does not evaluate the same version of java that is used when building HOT 2
- Investigate `const`ness HOT 3
- RFW golden-file test is/was blocking engine->framework roll HOT 1
- The SearchDelegate does not use the AppBarTheme of the current theme
- [Impeller] ListView in CupertinoPageScaffold becomes unresponsive in Simulator. HOT 7
- I can't get flutter to work HOT 1
- Size difference between Impeller blur and legacy (Skia) blur HOT 4
- Error occurs on real device when taking screenshot HOT 9
- [camerax] Level 1 Android devices can't do image analysis and image capture at the same time HOT 1
- [New Feature]Click on the widget to jump to the corresponding line of code in the IDE HOT 1
- GoRouter - Location cannot be empty.
- [tool_crash] FileSystemException: Creation failed, OS Error: The system cannot find the file specified., errno = 2 HOT 1
- Sometimes the ColorScheme generated by ColorScheme.fromSeed has the same color for different color role HOT 2
- Error starting debug session in Xcode: Timed out waiting for CONFIGURATION_BUILD_DIR to update
- Pigeon throws `TypeError` with `copyrightHeader` in `kotlinOptions` HOT 5
- MouseRegion for Touchscreens HOT 3
- [Method Channel][ActivityAware] global variable activity is null when it call in setmethodhandler and app is running in background HOT 1
- [image_picker] maxWidth and maxHeight setting do not work with images taken from a device camera in Portrait orientation
- Failed build for Web app with Flutter 3.22.2 HOT 2
- [Android] Upgrading to minSdk 23, makes app size 2 times bigger with flutter build apk HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flutter.