简体   繁体   中英

How to declare mutable Object in Flutter/Dart?

Is there any option to use Mutable Object in Flutter ?

I would like to get help on this

I am puzzled. By definition, all the objects are mutable in Flutter, unless you explicitely use unmodifiable constructors like Map.unmodifiable , or const . But otherwise, you are should be able to modify anything.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM