这是由于==默认比较的是地址,如需要比较内容需要重写==和hashCode方法。 不用Equatable class Person { const Person(this.name); final String name; @override bool ...
確定! 回上一頁