Flutter 报错[ERROR:flutter/lib/ui/ui_dart_state.cc(177)] Unhandled Exception: type ‘_Type‘ is not a su
[ERROR:flutter/lib/ui/ui_dart_state.cc(177] Unhandled Exception: type '_Type' is not a subtype of type 'String' in type cast 报错原因解决办法报错原因在写SharedPreferences工具类时使用泛型失误报错这个地方不能传入泛型,必须传入T的值,解决办法修改为T的值value即可...