mod: lint

mod: tweaks

opt: publish page

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-05-04 11:37:13 +08:00
parent 2cfad80214
commit caa58e9d7d
313 changed files with 2751 additions and 2789 deletions

View File

@@ -28,7 +28,7 @@ import 'package:scrollable_positioned_list/scrollable_positioned_list.dart';
enum EpisodeType { part, season, bangumi }
extension EpisodeTypeExt on EpisodeType {
String get title => ['分P', '合集', '番剧'][index];
String get title => const ['分P', '合集', '番剧'][index];
}
class EpisodePanel extends CommonSlidePage {
@@ -181,16 +181,17 @@ class _EpisodePanelState extends CommonSlidePageState<EpisodePanel>
@override
void dispose() {
_tabController.removeListener(listener);
_tabController.dispose();
_tabController
..removeListener(listener)
..dispose();
super.dispose();
}
@override
Widget build(BuildContext context) {
if (_isInit) {
return CustomScrollView(
physics: const NeverScrollableScrollPhysics(),
return const CustomScrollView(
physics: NeverScrollableScrollPhysics(),
);
}