MiuixInputField constructor
const
MiuixInputField({
- Key? key,
- required String query,
- required ValueChanged<
String> onQueryChange, - required ValueChanged<
String> onSearch, - required bool expanded,
- required ValueChanged<
bool> onExpandedChange, - String label = '',
- bool enabled = true,
- TextStyle? textStyle,
- Color? color,
- Widget? leadingIcon,
- Widget? trailingIcon,
- 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,
});