In the following code, I want to change that blue leaf color to black (have attached the image) I know how to change the cursor color but how to change this leaf color? I am not even sure that's the correct name for that
Expanded(
child: Padding(
padding: const EdgeInsets.only(left: 38),
child: TextField(
cursorColor: Colors.black,
style: const TextStyle(
color: Colors.black54,
fontFamily: 'sen',
fontSize: 15,
),
decoration: const InputDecoration(
border: InputBorder.none,
hintText: "Type Message",
hintStyle: TextStyle(
color: Colors.black54,
fontFamily: 'sen',
fontSize: 15
)
),
),
),
),

The blue leaf you are talking about is called
Text selection handle, the funny name you gave to it is probably the reason you didn't find a way to change the color.TextSelectionThemeDataHope that helps!