It looks like textCapitalization doesn't support TextCapitalization.words on the web.
MyCustomTextField(
controller: _nameController[index],
keyboardType: TextInputType.visiblePassword,
onChanged: (value) => _handleNameChange(value,index),
textCapitalization: TextCapitalization.words, // bug??
autoFocus: false,
icon: Icon(Icons.tune),
hint: "Name of Slider Switch",
)
It looks like textCapitalization doesn't support TextCapitalization.words on the web.