generated from dellevin/template
界面功能优化
This commit is contained in:
@@ -260,48 +260,6 @@ class _CustomDrawerState extends State<CustomDrawer> {
|
||||
),
|
||||
),
|
||||
|
||||
// 分隔线
|
||||
const Divider(
|
||||
height: 0.5, thickness: 0.5, color: Color(0xFFEEEEEE)),
|
||||
|
||||
// Markdown 阅读
|
||||
InkWell(
|
||||
onTap: () {
|
||||
Navigator.pop(context);
|
||||
Navigator.push(
|
||||
context,
|
||||
MaterialPageRoute(builder: (_) => const MdReaderTabPage()),
|
||||
);
|
||||
},
|
||||
borderRadius: BorderRadius.zero,
|
||||
child: const Padding(
|
||||
padding: EdgeInsets.symmetric(vertical: 13, horizontal: 16),
|
||||
child: Row(
|
||||
children: [
|
||||
Icon(Icons.description_outlined,
|
||||
size: 18, color: Color(0xFF666666)),
|
||||
SizedBox(width: 10),
|
||||
Expanded(
|
||||
child: Text(
|
||||
'MD阅读',
|
||||
style: TextStyle(
|
||||
fontSize: 14,
|
||||
fontWeight: FontWeight.w500,
|
||||
color: Color(0xFF1A1A1A)),
|
||||
),
|
||||
),
|
||||
Text(
|
||||
'浏览本地 md 文件',
|
||||
style: TextStyle(fontSize: 11, color: Color(0xFFBBBBBB)),
|
||||
),
|
||||
SizedBox(width: 6),
|
||||
Icon(Icons.chevron_right,
|
||||
size: 16, color: Color(0xFFCCCCCC)),
|
||||
],
|
||||
),
|
||||
),
|
||||
),
|
||||
|
||||
// 分隔线
|
||||
const Divider(
|
||||
height: 0.5, thickness: 0.5, color: Color(0xFFEEEEEE)),
|
||||
@@ -315,8 +273,7 @@ class _CustomDrawerState extends State<CustomDrawer> {
|
||||
MaterialPageRoute(builder: (_) => const TagManagementPage()),
|
||||
);
|
||||
},
|
||||
borderRadius:
|
||||
const BorderRadius.vertical(bottom: Radius.circular(10)),
|
||||
borderRadius: BorderRadius.zero,
|
||||
child: const Padding(
|
||||
padding: EdgeInsets.symmetric(vertical: 13, horizontal: 16),
|
||||
child: Row(
|
||||
@@ -344,6 +301,49 @@ class _CustomDrawerState extends State<CustomDrawer> {
|
||||
),
|
||||
),
|
||||
),
|
||||
|
||||
// 分隔线
|
||||
const Divider(
|
||||
height: 0.5, thickness: 0.5, color: Color(0xFFEEEEEE)),
|
||||
|
||||
// Markdown 阅读
|
||||
InkWell(
|
||||
onTap: () {
|
||||
Navigator.pop(context);
|
||||
Navigator.push(
|
||||
context,
|
||||
MaterialPageRoute(builder: (_) => const MdReaderTabPage()),
|
||||
);
|
||||
},
|
||||
borderRadius:
|
||||
const BorderRadius.vertical(bottom: Radius.circular(10)),
|
||||
child: const Padding(
|
||||
padding: EdgeInsets.symmetric(vertical: 13, horizontal: 16),
|
||||
child: Row(
|
||||
children: [
|
||||
Icon(Icons.description_outlined,
|
||||
size: 18, color: Color(0xFF666666)),
|
||||
SizedBox(width: 10),
|
||||
Expanded(
|
||||
child: Text(
|
||||
'MD阅读',
|
||||
style: TextStyle(
|
||||
fontSize: 14,
|
||||
fontWeight: FontWeight.w500,
|
||||
color: Color(0xFF1A1A1A)),
|
||||
),
|
||||
),
|
||||
Text(
|
||||
'浏览本地 md 文件',
|
||||
style: TextStyle(fontSize: 11, color: Color(0xFFBBBBBB)),
|
||||
),
|
||||
SizedBox(width: 6),
|
||||
Icon(Icons.chevron_right,
|
||||
size: 16, color: Color(0xFFCCCCCC)),
|
||||
],
|
||||
),
|
||||
),
|
||||
),
|
||||
],
|
||||
),
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user