PhoenixSearchbar constructor

const PhoenixSearchbar({
  1. Key? key,
  2. String hintText = "",
  3. Color fillColor = const Color(0xFFF9F9F9),
  4. Color borderColor = const Color(0xFFF9F9F9),
  5. bool enabled = true,
  6. bool isFocus = true,
  7. double radius = 0,
  8. double? spaceBetween,
  9. Widget? actionWidget,
  10. Widget? searchIcon,
  11. TextEditingController? textEditingController,
  12. TextStyle? hintTextStyle,
  13. EdgeInsets? padding,
  14. VoidCallback? onWidgetTap,
  15. dynamic onChanged(
    1. String
    )?,
})

Implementation

const PhoenixSearchbar({
  Key? key,
  this.hintText = "",
  this.fillColor = const Color(0xFFF9F9F9),
  this.borderColor = const Color(0xFFF9F9F9),
  this.enabled = true,
  this.isFocus = true,
  this.radius = 0,
  this.spaceBetween,
  this.actionWidget,
  this.searchIcon,
  this.textEditingController,
  this.hintTextStyle,
  this.padding,
  this.onWidgetTap,
  this.onChanged,
}) : super(key: key);