SearchView constructor

const SearchView({
  1. Key? key,
  2. required AppTheme theme,
  3. required TextEditingController controller,
  4. void onChanged(
    1. String
    )?,
  5. void onClosedPressed()?,
  6. String hintText = '',
  7. double borderRadius = 8.0,
  8. double iconSize = 20,
  9. EdgeInsets contentPadding = const EdgeInsets.symmetric(vertical: 4.0),
})

Implementation

const SearchView({
  super.key,
  required this.theme,
  required this.controller,
  this.onChanged,
  this.onClosedPressed,
  this.hintText = '',
  this.borderRadius = 8.0,
  this.iconSize = 20,
  this.contentPadding = const EdgeInsets.symmetric(vertical: 4.0),
});