AdwSearchBar.custom constructor

const AdwSearchBar.custom({
  1. Key? key,
  2. Widget textField(
    1. InputDecoration
    )?,
  3. EdgeInsets? padding,
  4. BoxConstraints? constraints,
  5. Color? fillColor,
  6. Widget? search,
  7. String? hintText,
})

Implementation

const AdwSearchBar.custom({
  Key? key,
  this.textField,
  this.padding,
  this.constraints,
  this.fillColor,
  this.search,
  this.hintText,
})  : toggleSearchBar = null,
      controller = null,
      onSubmitted = null,
      onChanged = null,
      super(key: key);