SearchAppBar constructor
const
SearchAppBar({
- Key? key,
- Function? onCallback,
- String? hintText = "请输入搜索内容",
- Widget? leading,
- Color? backgroundColor,
- Color? foregroundColor,
- bool primary = true,
- Color? searchBackgroundColor,
- Color? inputTextColor,
- Color? hintTextColor,
- Color? searchTextColor,
- Function? onFocusListener,
- String? rightText,
- 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);