SearchAppBar constructor

const SearchAppBar({
  1. Key? key,
  2. Function? onCallback,
  3. String? hintText = "请输入搜索内容",
  4. Widget? leading,
  5. Color? backgroundColor,
  6. Color? foregroundColor,
  7. bool primary = true,
  8. Color? searchBackgroundColor,
  9. Color? inputTextColor,
  10. Color? hintTextColor,
  11. Color? searchTextColor,
  12. Function? onFocusListener,
  13. String? rightText,
  14. Function? onRightBtnCallback,
})

Implementation

const SearchAppBar({
  Key? key,
  this.onCallback,
  this.hintText = "请输入搜索内容",
  this.leading,
  this.backgroundColor,
  this.foregroundColor,
  this.primary = true,
  this.searchBackgroundColor,
  this.inputTextColor,
  this.hintTextColor,
  this.searchTextColor,
  this.onFocusListener,
  this.rightText,
  this.onRightBtnCallback,
}) : super(key: key);