Dart 编写Api弃用警告
例如body2
在以后的版本将被bodyText1
代替
@Deprecated( 'This is the term used in the 2014 version of material design. The modern term is bodyText1. ' 'This feature was deprecated after v1.13.8.' ) TextStyle get body2 => bodyText1;
用户使用body2
将收到以下错误
'body2' is deprecated and shouldn't be used. This is the term used in the 2014 version of material design. The modern term is bodyText1. This feature was deprecated after v1.13.8.. Try replacing the use of the deprecated member with the replacement.
相关推荐
RedCode 2020-10-28
万物weiyi 2020-06-16
Samlss 2020-06-04
liutong 2020-05-12
万物weiyi 2020-03-04
mryangjx 2020-03-01
liutong 2020-02-26
liutong 2020-02-22
Samlss 2020-02-22
chaoxiao 2020-02-15
mryangjx 2020-01-28
liutong 2020-01-12
apowerfulman 2020-01-07
Samlss 2020-01-07
万物weiyi 2020-01-01
mryangjx 2019-12-25
Samlss 2019-12-15
Dreamfine 2019-12-13