mirror of
https://github.com/flutter/samples.git
synced 2025-11-08 13:58:47 +00:00
Fix build breakage (#1456)
This commit is contained in:
@@ -51,7 +51,7 @@ class _UnsplashSearchContentState extends State<UnsplashSearchContent> {
|
||||
final path = await getSavePath(
|
||||
suggestedName: '${photo.id}.jpg',
|
||||
acceptedTypeGroups: [
|
||||
XTypeGroup(
|
||||
const XTypeGroup(
|
||||
label: 'JPG',
|
||||
extensions: ['jpg'],
|
||||
mimeTypes: ['image/jpeg'],
|
||||
|
||||
@@ -53,7 +53,7 @@ class _UnsplashSearchContentState extends State<UnsplashSearchContent> {
|
||||
final path = await getSavePath(
|
||||
suggestedName: '${photo.id}.jpg',
|
||||
acceptedTypeGroups: [
|
||||
XTypeGroup(
|
||||
const XTypeGroup(
|
||||
label: 'JPG',
|
||||
extensions: ['jpg'],
|
||||
mimeTypes: ['image/jpeg'],
|
||||
|
||||
Reference in New Issue
Block a user