clearText method
void
clearText(
- dynamic controller
Implementation
void clearText(controller) {
controller.clear();
isTextEmpty.value = true;
update(); // Update the state to empty
}
void clearText(controller) {
controller.clear();
isTextEmpty.value = true;
update(); // Update the state to empty
}