使用ValueListenableBuilder监听TextEditingController
ValueListenableBuilder<TextEditingValue>( valueListenable:volumeController, builder: (context, value, child) { final result = value.text.length == 0 ? '0' : value.text; return Text(result); }, )
ValueListenableBuilder<TextEditingValue>( valueListenable:volumeController, builder: (context, value, child) { final result = value.text.length == 0 ? '0' : value.text; return Text(result); }, )