mirror of
https://github.com/flutter/samples.git
synced 2025-11-12 15:58:32 +00:00
Deps update, utilize super.key (#1265)
* Deps update, utilize `super.key` * `flutter format`
This commit is contained in:
@@ -69,12 +69,12 @@ String searchQueryFromParams(Map<String, String> params) {
|
||||
if (params.containsKey('type')) {
|
||||
if (buf.isNotEmpty) buf.write(' ');
|
||||
var value = params['type'];
|
||||
if (value != null) buf.write('type:' + value);
|
||||
if (value != null) buf.write('type:$value');
|
||||
}
|
||||
if (params.containsKey('platform')) {
|
||||
if (buf.isNotEmpty) buf.write(' ');
|
||||
var value = params['platform'];
|
||||
if (value != null) buf.write('platform:' + value);
|
||||
if (value != null) buf.write('platform:$value');
|
||||
}
|
||||
|
||||
return buf.toString();
|
||||
|
||||
Reference in New Issue
Block a user