-
Notifications
You must be signed in to change notification settings - Fork 28.9k
Closed as not planned
Closed as not planned
Copy link
Labels
P3Issues that are less important to the Flutter projectIssues that are less important to the Flutter projectc: proposalA detailed proposal for a change to FlutterA detailed proposal for a change to Flutterteam-toolOwned by Flutter Tool teamOwned by Flutter Tool teamtoolAffects the "flutter" command-line tool. See also t: labels.Affects the "flutter" command-line tool. See also t: labels.triaged-toolTriaged by Flutter Tool teamTriaged by Flutter Tool team
Description
Flutter example generated as part of plugin generated from ffi_plugin template fails to run with older version of flutter.
So it needs to have lower-bound constraint generated in its pubspec.yaml that matches flutter that is used to generate the project.
Otherwise, user could encounter various compile-time errors when running generated example with older version of flutter.
$ flutter create --template plugin_ffi --platforms linux,windows p
...
$ cat p/example/pubspec.yaml
...
environment:
sdk: '>=2.18.0-283.0.dev <3.0.0'
...
$
gnprice
Metadata
Metadata
Assignees
Labels
P3Issues that are less important to the Flutter projectIssues that are less important to the Flutter projectc: proposalA detailed proposal for a change to FlutterA detailed proposal for a change to Flutterteam-toolOwned by Flutter Tool teamOwned by Flutter Tool teamtoolAffects the "flutter" command-line tool. See also t: labels.Affects the "flutter" command-line tool. See also t: labels.triaged-toolTriaged by Flutter Tool teamTriaged by Flutter Tool team