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

@@ -37,7 +37,7 @@ class HistoryController extends MultiSelectController<HistoryData, HisListItem>
}
@override
onSelect(int index, [bool disableSelect = true]) {
void onSelect(int index, [bool disableSelect = true]) {
List<HisListItem> list = (loadingState.value as Success).response;
list[index].checked = !(list[index].checked ?? false);
baseCtr.checkedCount.value =
@@ -121,7 +121,7 @@ class HistoryController extends MultiSelectController<HistoryData, HisListItem>
}
}
void _onDelete(List<HisListItem> result) async {
Future<void> _onDelete(List<HisListItem> result) async {
SmartDialog.showLoading(msg: '请求中');
List<String> kidList = result.map((item) {
return '${item.history.business}_${item.kid}';

View File

@@ -199,7 +199,7 @@ class _HistoryPageState extends State<HistoryPage>
}
},
tabs: [
Tab(text: '全部'),
const Tab(text: '全部'),
..._historyController.tabs.map(
(item) => Tab(text: item.name),
),

View File

@@ -265,10 +265,10 @@ class HistoryItem extends StatelessWidget {
child: Row(
children: [
Icon(MdiIcons.accountCircleOutline, size: 16),
SizedBox(width: 6),
const SizedBox(width: 6),
Text(
'访问:${videoItem.authorName}',
style: TextStyle(fontSize: 13),
style: const TextStyle(fontSize: 13),
)
],
),