If I have this screen contain some widgets :
@override
Widget build(BuildContext context) {
return Column(children :[
TextFieldWidget(),
ClearButton(),
])
}
the textfield widget is stateless widget return textfild with controller called "color".
the ClearButton widget return elevated button, I want when press on ths button the textfield text clear. How can I do that.