ApnSearchBar constructor

const ApnSearchBar({
  1. Key? key,
  2. required TextEditingController controller,
  3. required ValueChanged<String> onFieldSubmitted,
  4. required VoidCallback onSearchCleared,
  5. String? hintText,
  6. TextStyle? hintStyle,
  7. TextStyle? textStyle,
  8. EdgeInsets? padding,
  9. BoxDecoration? decoration,
  10. String? prefixIcon,
  11. Color? prefixIconColor,
  12. String? suffixIcon,
  13. Color? suffixIconColor,
})

Implementation

const ApnSearchBar({
  Key? key,
  required this.controller,
  required this.onFieldSubmitted,
  required this.onSearchCleared,
  this.hintText,
  this.hintStyle,
  this.textStyle,
  this.padding,
  this.decoration,
  this.prefixIcon,
  this.prefixIconColor,
  this.suffixIcon,
  this.suffixIconColor,
}) : super(key: key);