MenuAction.search constructor

MenuAction.search(
  1. {required SearchMenuActionCallBack onSearch,
  2. Icon? icon,
  3. InputDecoration? inputDecoration}
)

Implementation

factory MenuAction.search({
  required SearchMenuActionCallBack onSearch,
  Icon? icon,
  InputDecoration? inputDecoration,
}) =>
    SearchAction(
      onSearch: onSearch,
      icon: icon,
      inputDecoration: inputDecoration,
    );