mod: 页面title修改
This commit is contained in:
@ -52,6 +52,7 @@ class _FollowPageState extends State<FollowPage> {
|
|||||||
TabBar(
|
TabBar(
|
||||||
controller: _followController.tabController,
|
controller: _followController.tabController,
|
||||||
isScrollable: true,
|
isScrollable: true,
|
||||||
|
tabAlignment: TabAlignment.start,
|
||||||
tabs: [
|
tabs: [
|
||||||
for (var i in data['data']) ...[
|
for (var i in data['data']) ...[
|
||||||
Tab(text: i.name),
|
Tab(text: i.name),
|
||||||
|
@ -45,7 +45,9 @@ class _MemberArchivePageState extends State<MemberArchivePage> {
|
|||||||
Widget build(BuildContext context) {
|
Widget build(BuildContext context) {
|
||||||
return Scaffold(
|
return Scaffold(
|
||||||
appBar: AppBar(
|
appBar: AppBar(
|
||||||
title: const Text('他的投稿'),
|
titleSpacing: 0,
|
||||||
|
centerTitle: false,
|
||||||
|
title: Text('他的投稿', style: Theme.of(context).textTheme.titleMedium),
|
||||||
// actions: [
|
// actions: [
|
||||||
// Obx(
|
// Obx(
|
||||||
// () => PopupMenuButton<String>(
|
// () => PopupMenuButton<String>(
|
||||||
|
@ -52,7 +52,9 @@ class _MemberDynamicsPageState extends State<MemberDynamicsPage> {
|
|||||||
Widget build(BuildContext context) {
|
Widget build(BuildContext context) {
|
||||||
return Scaffold(
|
return Scaffold(
|
||||||
appBar: AppBar(
|
appBar: AppBar(
|
||||||
title: const Text('他的动态'),
|
titleSpacing: 0,
|
||||||
|
centerTitle: false,
|
||||||
|
title: Text('他的动态', style: Theme.of(context).textTheme.titleMedium),
|
||||||
),
|
),
|
||||||
body: CustomScrollView(
|
body: CustomScrollView(
|
||||||
controller: _memberDynamicController.scrollController,
|
controller: _memberDynamicController.scrollController,
|
||||||
|
@ -41,7 +41,9 @@ class _MemberSeasonsPageState extends State<MemberSeasonsPage> {
|
|||||||
Widget build(BuildContext context) {
|
Widget build(BuildContext context) {
|
||||||
return Scaffold(
|
return Scaffold(
|
||||||
appBar: AppBar(
|
appBar: AppBar(
|
||||||
title: const Text('他的专栏'),
|
titleSpacing: 0,
|
||||||
|
centerTitle: false,
|
||||||
|
title: Text('他的专栏', style: Theme.of(context).textTheme.titleMedium),
|
||||||
),
|
),
|
||||||
body: Padding(
|
body: Padding(
|
||||||
padding: const EdgeInsets.only(
|
padding: const EdgeInsets.only(
|
||||||
|
Reference in New Issue
Block a user