AFieldSearch constructor

const AFieldSearch({
  1. Key? key,
  2. String identifier = "search",
  3. String? label = "Pesquisar",
  4. IconData? icon = Icons.search,
  5. required void onChanged(
    1. String?
    )?,
  6. String? initialValue,
  7. bool expanded = false,
  8. int? flexible,
  9. EdgeInsets? margin,
  10. double height = 46,
  11. Iterable<String>? autofillHints,
  12. bool autofocus = false,
  13. Widget? bottom,
  14. bool capitalize = false,
  15. List<ARule<String>>? customRules,
  16. bool denySpaces = false,
  17. String? hintText,
  18. TextInputType? keyboardType,
  19. bool linkToAForm = false,
  20. int maxLines = 1,
  21. VoidCallback? onSubmit,
  22. void onUnfocus()?,
  23. EdgeInsets? padding,
  24. bool readOnly = false,
  25. bool required = false,
  26. 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);