[flutter_tools] add sdk constraint to plugin/package templates (#60932)

Gives plugin and package a constraint on the flutter version, which will be from 2 stable's ago when this goes to stable. Adds an upper bound of 2.0
This commit is contained in:
Jonah Williams
2020-07-08 10:11:10 -07:00
committed by GitHub
parent 7d7907e6c1
commit 0cff654220
2 changed files with 2 additions and 1 deletions

View File

@@ -6,6 +6,7 @@ homepage:
environment:
sdk: ">=2.7.0 <3.0.0"
flutter: ">=1.17.0 <2.0.0"
dependencies:
flutter:

View File

@@ -6,7 +6,7 @@ homepage:
environment:
sdk: ">=2.7.0 <3.0.0"
flutter: ">=1.10.0"
flutter: ">=1.17.0 <2.0.0"
dependencies:
flutter: