TextFieldClearButton constructor

const TextFieldClearButton({
  1. required TextEditingController textController,
  2. required FocusNode focusNode,
  3. bool? hide,
  4. Widget emptyIcon = const SizedBox.shrink(),
  5. Widget clearIcon = const Icon(Icons.clear),
  6. Key? key,
})

Implementation

const TextFieldClearButton({
  required this.textController,
  required this.focusNode,
  this.hide,
  this.emptyIcon = const SizedBox.shrink(),
  this.clearIcon = const Icon(Icons.clear),
  super.key
});