angular2dart组件特性和方法

angular2dart组件特性和方法,dart,Dart,查看组件文档时,有许多方法、属性等。 那有什么好处 例如,有一个MaterialInputComponent和属性errorMsg,我如何使用它? 我怎么用呢?这是一个输入。 /// - `errorMsg` -- The error msg to be shown on the input if the max characters /// are hit or the msg for an invalid number in the case of type = "number"

查看组件文档时,有许多方法、属性等。
那有什么好处

例如,有一个
MaterialInputComponent
和属性
errorMsg
,我如何使用它?


我怎么用呢?这是一个输入<代码>。
/// - `errorMsg` -- The error msg to be shown on the input if the max characters
///   are hit or the msg for an invalid number in the case of type = "number"