技术栈
subtype
江上清风山间明月
1 年前
flutter
·
future
·
subtype
·
cast
·
type
Flutter开发type ‘Future<int>‘ is not a subtype of type ‘int‘ in type cast错误
今天有个同事调试flutter程序时报错,问我怎么解决,程序运行时报如下错误: type ‘Future’ is not a subtype of type ‘int’ in type cast