Unverified Commit 4b017b62 authored by Jonah Williams's avatar Jonah Williams Committed by GitHub

remove unnecessary null aware operator (#69107)

parent 9fb1c521
......@@ -344,8 +344,7 @@ class _CupertinoSearchTextFieldState extends State<CupertinoSearchTextField>
@override
Widget build(BuildContext context) {
final String placeholder = widget.placeholder ??
CupertinoLocalizations.of(context)?.searchTextFieldPlaceholerLabel ??
'Search';
CupertinoLocalizations.of(context).searchTextFieldPlaceholerLabel;
final TextStyle placeholderStyle = widget.placeholderStyle ??
const TextStyle(color: CupertinoColors.systemGrey);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment