flutter dart如何获取对象ID

Aer*_*ron 5 dart flutter

WidgetInspectorService.instance.toObject(id)

toObject id是什么id?

以及如何获取对象id?

com*_*m1x 10

有了这个功能identityHashCode

它返回对象的唯一ID(int)。