摘要: void main() { Man(); } class Person { void speak() { print('hi'); } } class Man extends Person { @override void speak() { print('你好'); } } 阅读全文
posted @ 2024-09-05 16:05 飞雪飘鸿 阅读(12) 评论(0) 推荐(0) 编辑
摘要: public class SnowflakeIdWorker{ /** 开始时间截 (2015-01-01) */ private final long twepoch = 1288834974657L; /** 机器id所占的位数 */ private final long workerIdBit 阅读全文
posted @ 2024-09-05 14:58 飞雪飘鸿 阅读(7) 评论(0) 推荐(0) 编辑
摘要: 参考https://www.jb51.net/article/263730.htm 无状态 StatelessWidget class LessComponent extends StatelessWidget { const LessComponent({Key? key}) : super(ke 阅读全文
posted @ 2024-09-05 12:52 飞雪飘鸿 阅读(7) 评论(0) 推荐(0) 编辑
https://damo.alibaba.com/ https://tianchi.aliyun.com/course?spm=5176.21206777.J_3941670930.5.87dc17c9BZNvLL