MiuixInputField constructor

const MiuixInputField({
  1. Key? key,
  2. required String query,
  3. required ValueChanged<String> onQueryChange,
  4. required ValueChanged<String> onSearch,
  5. required bool expanded,
  6. required ValueChanged<bool> onExpandedChange,
  7. String label = '',
  8. bool enabled = true,
  9. TextStyle? textStyle,
  10. Color? color,
  11. Widget? leadingIcon,
  12. Widget? trailingIcon,
  13. FocusNode? focusNode,
})

Implementation

const MiuixInputField({
  super.key,
  required this.query,
  required this.onQueryChange,
  required this.onSearch,
  required this.expanded,
  required this.onExpandedChange,
  this.label = '',
  this.enabled = true,
  this.textStyle,
  this.color,
  this.leadingIcon,
  this.trailingIcon,
  this.focusNode,
});