ApnSearchBar constructor
const
ApnSearchBar({
- Key? key,
- required TextEditingController controller,
- required ValueChanged<
String> onFieldSubmitted, - required VoidCallback onSearchCleared,
- String? hintText,
- TextStyle? hintStyle,
- TextStyle? textStyle,
- EdgeInsets? padding,
- BoxDecoration? decoration,
- String? prefixIcon,
- Color? prefixIconColor,
- String? suffixIcon,
- Color? suffixIconColor,
Implementation
const ApnSearchBar({
Key? key,
required this.controller,
required this.onFieldSubmitted,
required this.onSearchCleared,
this.hintText,
this.hintStyle,
this.textStyle,
this.padding,
this.decoration,
this.prefixIcon,
this.prefixIconColor,
this.suffixIcon,
this.suffixIconColor,
}) : super(key: key);