AFieldSearch constructor
const
AFieldSearch({
- Key? key,
- String identifier = "search",
- String? label = "Pesquisar",
- IconData? icon = Icons.search,
- required void onChanged()?,
- String? initialValue,
- bool expanded = false,
- int? flexible,
- EdgeInsets? margin,
- double height = 46,
- Iterable<
String> ? autofillHints, - bool autofocus = false,
- Widget? bottom,
- bool capitalize = false,
- List<
ARule< ? customRules,String> > - bool denySpaces = false,
- String? hintText,
- TextInputType? keyboardType,
- bool linkToAForm = false,
- int maxLines = 1,
- VoidCallback? onSubmit,
- void onUnfocus()?,
- EdgeInsets? padding,
- bool readOnly = false,
- bool required = false,
- Widget? suffix,
Implementation
const AFieldSearch({
super.key,
super.identifier = "search",
super.label = "Pesquisar",
super.icon = Icons.search,
required super.onChanged,
super.initialValue,
super.expanded,
super.flexible,
super.margin,
super.height,
super.autofillHints,
super.autofocus,
super.bottom,
super.capitalize,
super.customRules,
super.denySpaces,
super.hintText,
super.keyboardType,
super.linkToAForm = false,
super.maxLines,
super.onSubmit,
super.onUnfocus,
super.padding,
super.readOnly,
super.required,
super.suffix,
}) : super(clearable: true);