|
...
|
...
|
@@ -167,10 +167,7 @@ class WatchFacePreview extends StatelessWidget { |
|
|
|
Widget _buildFaceImage(String? themeUrl, String placeholder) {
|
|
|
|
if (themeUrl != null && themeUrl.isNotEmpty) {
|
|
|
|
if (themeUrl.isURL) {
|
|
|
|
return CachedNetworkImage(
|
|
|
|
imageUrl: themeUrl,
|
|
|
|
fit: BoxFit.fitWidth,
|
|
|
|
);
|
|
|
|
return Image.network(themeUrl, fit: BoxFit.fitWidth);
|
|
|
|
}
|
|
|
|
return Image.file(File(themeUrl), fit: BoxFit.fitWidth);
|
|
|
|
}
|
...
|
...
|
|