Q:

Flutter- TextEditingController listener get called multiple time for textfield

TextField controlled controller.addListener(() gets called multiple time after pressing the clear button, this will only happen if we are clearing it. 
Snippet:
TextEditingController controller = new TextEditingController();
    TextField field = new TextField(
      controller: controller,
      autofocus: true,

    );
    controller.addListener(() {
      print("Pressed cancel button");
    });

Video Link
Note: While adding characters in TextField listener method gets called only ones. 

A:

I guess that would be a defect on flutter, a possible solution would be to use onChanged() 
TextField field = new TextField(
  autofocus: true,
  onChanged: (String value) {
    print("Pressed clear button");
  },

);

