-
Notifications
You must be signed in to change notification settings - Fork 30.8k
Support flavors for Linux #162373
Copy link
Copy link
Closed
Labels
P3Issues that are less important to the Flutter projectIssues that are less important to the Flutter projecta: desktopRunning on desktopRunning on desktopc: new featureNothing broken; request for a new capabilityNothing broken; request for a new capabilityc: proposalA detailed proposal for a change to FlutterA detailed proposal for a change to Flutterplatform-linuxBuilding on or for Linux specificallyBuilding on or for Linux specificallyteam-linuxOwned by the Linux platform teamOwned by the Linux platform teamtoolAffects the "flutter" command-line tool. See also t: labels.Affects the "flutter" command-line tool. See also t: labels.triaged-linuxTriaged by the Linux platform teamTriaged by the Linux platform team
Description
Metadata
Metadata
Assignees
Labels
P3Issues that are less important to the Flutter projectIssues that are less important to the Flutter projecta: desktopRunning on desktopRunning on desktopc: new featureNothing broken; request for a new capabilityNothing broken; request for a new capabilityc: proposalA detailed proposal for a change to FlutterA detailed proposal for a change to Flutterplatform-linuxBuilding on or for Linux specificallyBuilding on or for Linux specificallyteam-linuxOwned by the Linux platform teamOwned by the Linux platform teamtoolAffects the "flutter" command-line tool. See also t: labels.Affects the "flutter" command-line tool. See also t: labels.triaged-linuxTriaged by the Linux platform teamTriaged by the Linux platform team
Use case
Right now, flavors are only supported on Android, iOS, and macOS.
It'd be great if support was broadened so that all supported platforms could have the same flavor set-up.
There is already a ticket for bringing flavor support to Windows, and it seems just as appropriate to do the same for Linux.
Proposal
There's official documentation on creating flavors for the 3 supported platforms as well as packages like flutter_flavorizr that automate this process.
It'd be great to have the same thing for Linux, as well as scripts that would create the requisite code and config files on the Linux side.