MyRoundedSearchButton constructor

MyRoundedSearchButton({
  1. Key? key,
  2. String? hint,
  3. String? searchIcon,
  4. ValueChanged<String>? onChange,
  5. ValueChanged<String>? onComplete,
  6. double height = 30.0,
  7. double fontSize = 14.0,
  8. double? width,
  9. double? radius,
  10. double iconSize = 15.0,
  11. String? initText,
  12. Color bgColor = UIData.windowBg,
  13. bool isHomeGradient = false,
  14. Color hintColor = UIData.textGN,
})

Implementation

MyRoundedSearchButton(
    {Key? key,
    this.hint,
    this.searchIcon,
    this.onChange,
    this.onComplete,
    this.height = 30.0,
    this.fontSize = 14.0,
    this.width,
    this.radius,
    this.iconSize = 15.0,
    this.initText,
    this.bgColor = UIData.windowBg,
    this.isHomeGradient = false,
    this.hintColor = UIData.textGN})
    : super(key: key);