useSearchController function
- @Deprecated('Use `useSearchController` from `package:material_hooks/material_hooks.dart` instead. ' 'The Flutter SDK deprecated its Material and Cupertino libraries in favor of ' 'the `material_ui` package.')
SearchController
useSearchController(
{ - List<Object?>? keys,
})
Creates a SearchController that will be disposed automatically.
See also:
Implementation
@Deprecated(
'Use `useSearchController` from `package:material_hooks/material_hooks.dart` instead. '
'The Flutter SDK deprecated its Material and Cupertino libraries in favor of '
'the `material_ui` package.',
)
SearchController useSearchController({List<Object?>? keys}) {
return use(_SearchControllerHook(keys: keys));
}