深色模式、首页设置页面和功能优化
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
import 'package:flutter/material.dart';
|
||||
import '../../constants/app_constants.dart';
|
||||
import '../../config/app_config.dart';
|
||||
import '../../utils/http/http_client.dart';
|
||||
import '../../models/poetry_model.dart';
|
||||
import '../../controllers/load/locally.dart';
|
||||
@@ -156,7 +157,13 @@ class _PopularPageState extends State<PopularPage>
|
||||
return false;
|
||||
},
|
||||
child: ListView.builder(
|
||||
padding: const EdgeInsets.all(16),
|
||||
// 添加底部内边距,让内容延伸到导航栏下方,实现玻璃效果
|
||||
padding: EdgeInsets.only(
|
||||
left: 16,
|
||||
right: 16,
|
||||
top: 16,
|
||||
bottom: AppConfig.liquidGlassTotalHeight + 16,
|
||||
),
|
||||
itemCount: _rankList.length + (_showBottomIndicator ? 1 : 0),
|
||||
itemBuilder: (context, index) {
|
||||
if (index == _rankList.length) {
|
||||
|
||||
Reference in New Issue
Block a user