CustomSearchBar constructor

CustomSearchBar({
  1. Key? key,
  2. required void handlerSearch(
    1. String
    ),
  3. void onSubmitted(
    1. String
    )?,
  4. String? placeHolder,
  5. String? cancelText,
  6. TextInputType keyboardType = TextInputType.text,
  7. Color? backgroundColor,
  8. Color? fillColor,
})

Implementation

CustomSearchBar({
  Key? key,
  required this.handlerSearch,
  this.onSubmitted,
  this.placeHolder,
  this.cancelText,
  this.keyboardType = TextInputType.text,
  this.backgroundColor,
  this.fillColor,
}) : super(key: key);