chore: code clean up

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2024-11-10 09:49:06 +08:00
parent 03d405e197
commit 59910e275e
133 changed files with 597 additions and 816 deletions

View File

@@ -42,7 +42,7 @@ Widget searchLivePanel(BuildContext context, ctr, loadingState) {
class LiveItem extends StatelessWidget {
final dynamic liveItem;
const LiveItem({Key? key, required this.liveItem}) : super(key: key);
const LiveItem({super.key, required this.liveItem});
@override
Widget build(BuildContext context) {
@@ -109,7 +109,7 @@ class LiveItem extends StatelessWidget {
class LiveContent extends StatelessWidget {
final dynamic liveItem;
const LiveContent({Key? key, required this.liveItem}) : super(key: key);
const LiveContent({super.key, required this.liveItem});
@override
Widget build(BuildContext context) {
return Expanded(
@@ -159,8 +159,7 @@ class LiveStat extends StatelessWidget {
final int? online;
final String? cateName;
const LiveStat({Key? key, required this.online, this.cateName})
: super(key: key);
const LiveStat({super.key, required this.online, this.cateName});
@override
Widget build(BuildContext context) {