mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-05-05 01:27:49 +08:00
tweaks (#1142)
* opt: unused layout * mod: semantics * opt: DanmakuMsg type * opt: avoid cast * opt: unnecessary_lambdas * opt: use isEven * opt: logger * opt: invalid common page * tweak * opt: unify DynController
This commit is contained in:
committed by
GitHub
parent
56ffc2781f
commit
5f8313901b
@@ -1,14 +1,15 @@
|
||||
import 'package:flutter/material.dart' show IconData, Icons;
|
||||
|
||||
enum StatType {
|
||||
view(Icons.remove_red_eye_outlined),
|
||||
danmaku(Icons.subtitles_outlined),
|
||||
like(Icons.thumb_up_outlined),
|
||||
reply(Icons.comment_outlined),
|
||||
follow(Icons.favorite_border),
|
||||
play(Icons.play_circle_outlined),
|
||||
listen(Icons.headset_outlined);
|
||||
view(Icons.remove_red_eye_outlined, '观看'),
|
||||
danmaku(Icons.subtitles_outlined, '弹幕'),
|
||||
like(Icons.thumb_up_outlined, '点赞'),
|
||||
reply(Icons.comment_outlined, '评论'),
|
||||
follow(Icons.favorite_border, '关注'),
|
||||
play(Icons.play_circle_outlined, '播放'),
|
||||
listen(Icons.headset_outlined, '播放');
|
||||
|
||||
final IconData iconData;
|
||||
const StatType(this.iconData);
|
||||
final String label;
|
||||
const StatType(this.iconData, this.label);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user