Flutter BLoC library: Where to keep the TextEditingController object: in State, in BLoC / Cubit class or in the widget?

后端 未结 0 1951
执念已碎
执念已碎 2021-01-12 02:27

While using BLoC library we store all the variables in a state class. But where to store TextEditingController, which does not change, but the value of it does?

Let\'

相关标签:
回答
  • 消灭零回复
提交回复
热议问题