[flutter] The argument type ' ' can't be assigned to the parameter type 'TickerProvider'.

[复制链接]
作者
n2n1   发布于2021-11-27 19:24:40 来自河北
flutter
flutter: 分享
The argument type 'xx ' can't be assigned to the parameter type 'TickerProvider'.


class _LoginPageState extends State<LoginPage>.{

添加
with SingleTickerProviderStateMixin


class _LoginPageState extends State<LoginPage> with SingleTickerProviderStateMixin{   




回复

使用道具 举报

您需要登录后才可以回帖 登录 | 创建账号

本版积分规则

Archiver|小黑屋|( 冀ICP备2021005463号 )

GMT+8, 2024-4-27 04:06 , Processed in 0.099192 second(s), 27 queries , Gzip On.

N2N1 It社区 n2n1.cn

Copyright © 2001-2021,MeiCheng.

快速回复 返回顶部 返回列表