CustomTextSearch constructor

const CustomTextSearch({
  1. Key? key,
  2. required Map items,
  3. required Function callback,
  4. String? keyItemName,
  5. Color? backgroundColor,
  6. Color? onFocusColor,
  7. Color? textColor,
  8. EdgeInsets? margin,
  9. String hintText = 'Buscar',
})

Implementation

const CustomTextSearch({
  super.key,
  required this.items,
  required this.callback,
  this.keyItemName,
  this.backgroundColor,
  this.onFocusColor,
  this.textColor,
  this.margin,
  this.hintText = 'Buscar'
});