简体   繁体   English

在Dart中使用Polymer UI元素

[英]Using Polymer UI Elements in Dart

Is there a supported way to leverage polymer UI elements in dart? 是否有支持的方法来利用飞镖中的聚合物UI元素? It appears that polymer_element is no longer supported. 似乎不再支持polymer_element。

The

Currently Unsupported 目前不受支持

at https://pub.dartlang.org/packages/polymer_elements is misleading. https://pub.dartlang.org/packages/polymer_elements有误导性。

That's a project that Erik and I worked on a long time ago and the Dart team took over the project name not too long ago. 这是Erik和我很久以前合作过的一个项目,Dart团队不久前接管了这个项目名称。

pub.dartlang.org shows always the content of the last release that isn't a pre-release. pub.dartlang.org始终显示不是预发行版的上一版本的内容。 Pre-releases are versions that contain a - after the patch version like 1.0.0-beta.1 预发布版本包含-1.0.0-beta.1等补丁版本1.0.0-beta.1

The title shows 标题显示

polymer_elements 0.3.0 (latest: 0.3.0 / 1.0.0-rc.9 ) polymer_elements 0.3.0(最新:0.3.0 / 1.0.0-rc.9)

which means the latest release version is 0.3.0 , which is the unsupported one) and 1.0.0-rc.9 which is the pre-release one. 这意味着最新发布的版本是0.3.0 ,这是不受支持的版本)和1.0.0-rc.9是预发行版本。

If you add a version constraint like 如果你添加一个版本约束

dependencies:
  polymer_elements: ^1.0.0-rc.9

then you get the recent and supported version. 然后你得到最近和支持的版本。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM