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:
@@ -108,7 +108,7 @@ class Sample {
|
||||
var screenshotUrl = screenshots.first.url;
|
||||
var prefix = path.dirname(screenshotUrl);
|
||||
var filename = path.basenameWithoutExtension(screenshotUrl);
|
||||
return path.join(prefix, filename + '_thumb.png');
|
||||
return path.join(prefix, '${filename}_thumb.png');
|
||||
}
|
||||
|
||||
String get searchAttributes {
|
||||
@@ -155,7 +155,7 @@ class Sample {
|
||||
if (description.length < 64) {
|
||||
return description;
|
||||
}
|
||||
return description.substring(0, 64) + '...';
|
||||
return '${description.substring(0, 64)}...';
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user