flutter TextField suffixText onclick event or any ontap method how to use

Issue use in TextField and decoration in suffixText show text but need suffixText click event TextField( decoration: InputDecoration( filled: true, fillColor: Colors.white10, hintText: ‘Password’, hintStyle: TextStyle(color: Colors.white), contentPadding: const EdgeInsets.all(24), prefixIcon: Icon(Icons.lock, color: Colors.white), suffixText: ‘forget?’.toUpperCase(), ), ), Solution There

Continue reading