Commit e01edfd7 by tanghuan

link页面的标题栏的蓝色改为白色

1 parent 2dc71814
......@@ -22,12 +22,21 @@ class LinkPage extends StatelessWidget {
builder: (ctx, state) {
final scaffold = Scaffold(
appBar: AppBar(
title: Text(state.title, style: TextStyle(color: Colors.white, fontSize: 18)),
title: Text(
state.title,
style: const TextStyle(
color: Color(0xFF333333),
fontSize: 16,
fontWeight: FontWeight.bold,
height: 20 / 16,
),
),
centerTitle: true,
backgroundColor: Color(0xFF7691FA),
iconTheme: IconThemeData(color: Colors.white),
backgroundColor: Colors.white,
elevation: 0,
iconTheme: IconThemeData(color: Colors.black),
leading: IconButton(
icon: const Icon(Icons.arrow_back, color: Colors.white),
icon: const Icon(Icons.arrow_back, color: Colors.black),
onPressed: () {
ctx.read<LinkCubit>().handleBack();
},
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!