Add Linux and Windows target platforms (#51519)
This PR adds the linux and windows target platform enum values, along with automatically setting the defaultTargetPlatform to the appropriate value on those platforms. Fixes #31366
This commit is contained in:
@@ -642,9 +642,6 @@ To edit platform code in an IDE see https://flutter.dev/developing-packages/#edi
|
||||
'web': web,
|
||||
'macos': macos,
|
||||
'year': DateTime.now().year,
|
||||
// If a desktop platform is included, add a workaround for #31366.
|
||||
// When Linux and Windows are added, we will need this workaround again.
|
||||
'includeTargetPlatformWorkaround': false,
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user