Commit e01edfd7 by tanghuan

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

1 parent 2dc71814
...@@ -22,12 +22,21 @@ class LinkPage extends StatelessWidget { ...@@ -22,12 +22,21 @@ class LinkPage extends StatelessWidget {
builder: (ctx, state) { builder: (ctx, state) {
final scaffold = Scaffold( final scaffold = Scaffold(
appBar: AppBar( 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, centerTitle: true,
backgroundColor: Color(0xFF7691FA), backgroundColor: Colors.white,
iconTheme: IconThemeData(color: Colors.white), elevation: 0,
iconTheme: IconThemeData(color: Colors.black),
leading: IconButton( leading: IconButton(
icon: const Icon(Icons.arrow_back, color: Colors.white), icon: const Icon(Icons.arrow_back, color: Colors.black),
onPressed: () { onPressed: () {
ctx.read<LinkCubit>().handleBack(); 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!