SearchFieldDecoration constructor

const SearchFieldDecoration({
  1. Color? fillColor,
  2. BoxConstraints? constraints,
  3. EdgeInsetsGeometry? contentPadding,
  4. TextStyle? textStyle,
  5. TextStyle? hintStyle,
  6. Widget? prefixIcon,
  7. Widget suffixIcon(
    1. VoidCallback onClear
    )?,
  8. InputBorder? border,
  9. InputBorder? focusedBorder,
})

Implementation

const SearchFieldDecoration({
  this.fillColor,
  this.constraints,
  this.contentPadding,
  this.textStyle,
  this.hintStyle,
  this.prefixIcon,
  this.suffixIcon,
  this.border,
  this.focusedBorder,
});