摘要:
void main() { Man(); } class Person { void speak() { print('hi'); } } class Man extends Person { @override void speak() { print('你好'); } } 阅读全文
摘要:
public class SnowflakeIdWorker{ /** 开始时间截 (2015-01-01) */ private final long twepoch = 1288834974657L; /** 机器id所占的位数 */ private final long workerIdBit 阅读全文
摘要:
参考https://www.jb51.net/article/263730.htm 无状态 StatelessWidget class LessComponent extends StatelessWidget { const LessComponent({Key? key}) : super(ke 阅读全文