NeoSearchBox constructor

const NeoSearchBox({
  1. Key? key,
  2. required TextEditingController controller,
  3. ValueChanged<String>? onChanged,
  4. String hintText = 'Buscar componentes...',
  5. Color? backgroundColor,
  6. double radius = 24,
  7. double contentHeight = 38,
  8. EdgeInsetsGeometry padding = const EdgeInsets.symmetric(horizontal: 14, vertical: 10),
})

Implementation

const NeoSearchBox({
  super.key,
  required this.controller,
  this.onChanged,
  this.hintText = 'Buscar componentes...',
  this.backgroundColor,
  this.radius = 24,
  this.contentHeight = 38,
  this.padding = const EdgeInsets.symmetric(horizontal: 14, vertical: 10),
});