opt: AppBarTheme
This commit is contained in:
@ -131,14 +131,7 @@ class _ExtraSettingState extends State<ExtraSetting> {
|
||||
.labelMedium!
|
||||
.copyWith(color: Theme.of(context).colorScheme.outline);
|
||||
return Scaffold(
|
||||
appBar: AppBar(
|
||||
centerTitle: false,
|
||||
titleSpacing: 0,
|
||||
title: Text(
|
||||
'其他设置',
|
||||
style: Theme.of(context).textTheme.titleMedium,
|
||||
),
|
||||
),
|
||||
appBar: AppBar(title: const Text('其他设置')),
|
||||
body: ListView(
|
||||
children: [
|
||||
const SetSwitchItem(
|
||||
|
||||
@ -38,10 +38,7 @@ class _ColorSelectPageState extends State<ColorSelectPage> {
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return Scaffold(
|
||||
appBar: AppBar(
|
||||
centerTitle: false,
|
||||
title: const Text('选择应用主题'),
|
||||
),
|
||||
appBar: AppBar(title: const Text('选择应用主题')),
|
||||
body: ListView(
|
||||
children: [
|
||||
Obx(
|
||||
|
||||
@ -100,9 +100,7 @@ class _LogsPageState extends State<LogsPage> {
|
||||
Widget build(BuildContext context) {
|
||||
return Scaffold(
|
||||
appBar: AppBar(
|
||||
centerTitle: false,
|
||||
titleSpacing: 0,
|
||||
title: Text('日志', style: Theme.of(context).textTheme.titleMedium),
|
||||
title: const Text('日志'),
|
||||
actions: [
|
||||
PopupMenuButton<String>(
|
||||
onSelected: (String type) {
|
||||
|
||||
@ -34,14 +34,7 @@ class _PlayGesturePageState extends State<PlayGesturePage> {
|
||||
.labelMedium!
|
||||
.copyWith(color: Theme.of(context).colorScheme.outline);
|
||||
return Scaffold(
|
||||
appBar: AppBar(
|
||||
centerTitle: false,
|
||||
titleSpacing: 0,
|
||||
title: Text(
|
||||
'手势设置',
|
||||
style: Theme.of(context).textTheme.titleMedium,
|
||||
),
|
||||
),
|
||||
appBar: AppBar(title: const Text('手势设置')),
|
||||
body: ListView(
|
||||
children: [
|
||||
ListTile(
|
||||
|
||||
@ -204,16 +204,7 @@ class _PlaySpeedPageState extends State<PlaySpeedPage> {
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return Scaffold(
|
||||
appBar: AppBar(
|
||||
elevation: 0,
|
||||
scrolledUnderElevation: 0,
|
||||
titleSpacing: 0,
|
||||
centerTitle: false,
|
||||
title: Text(
|
||||
'倍速设置',
|
||||
style: Theme.of(context).textTheme.titleMedium,
|
||||
),
|
||||
),
|
||||
appBar: AppBar(title: const Text('倍速设置')),
|
||||
body: SingleChildScrollView(
|
||||
child: Column(
|
||||
crossAxisAlignment: CrossAxisAlignment.start,
|
||||
|
||||
@ -67,14 +67,7 @@ class _PlaySettingState extends State<PlaySetting> {
|
||||
.labelMedium!
|
||||
.copyWith(color: Theme.of(context).colorScheme.outline);
|
||||
return Scaffold(
|
||||
appBar: AppBar(
|
||||
centerTitle: false,
|
||||
titleSpacing: 0,
|
||||
title: Text(
|
||||
'播放设置',
|
||||
style: Theme.of(context).textTheme.titleMedium,
|
||||
),
|
||||
),
|
||||
appBar: AppBar(title: const Text('播放设置')),
|
||||
body: ListView(
|
||||
children: [
|
||||
ListTile(
|
||||
|
||||
@ -32,14 +32,7 @@ class _PrivacySettingState extends State<PrivacySetting> {
|
||||
.labelMedium!
|
||||
.copyWith(color: Theme.of(context).colorScheme.outline);
|
||||
return Scaffold(
|
||||
appBar: AppBar(
|
||||
centerTitle: false,
|
||||
titleSpacing: 0,
|
||||
title: Text(
|
||||
'隐私设置',
|
||||
style: Theme.of(context).textTheme.titleMedium,
|
||||
),
|
||||
),
|
||||
appBar: AppBar(title: const Text('隐私设置')),
|
||||
body: Column(
|
||||
children: [
|
||||
ListTile(
|
||||
|
||||
@ -53,14 +53,7 @@ class _RecommendSettingState extends State<RecommendSetting> {
|
||||
.labelMedium!
|
||||
.copyWith(color: Theme.of(context).colorScheme.outline);
|
||||
return Scaffold(
|
||||
appBar: AppBar(
|
||||
centerTitle: false,
|
||||
titleSpacing: 0,
|
||||
title: Text(
|
||||
'推荐设置',
|
||||
style: Theme.of(context).textTheme.titleMedium,
|
||||
),
|
||||
),
|
||||
appBar: AppBar(title: const Text('推荐设置')),
|
||||
body: ListView(
|
||||
children: [
|
||||
ListTile(
|
||||
|
||||
@ -49,14 +49,7 @@ class _StyleSettingState extends State<StyleSetting> {
|
||||
.labelMedium!
|
||||
.copyWith(color: Theme.of(context).colorScheme.outline);
|
||||
return Scaffold(
|
||||
appBar: AppBar(
|
||||
centerTitle: false,
|
||||
titleSpacing: 0,
|
||||
title: Text(
|
||||
'外观设置',
|
||||
style: Theme.of(context).textTheme.titleMedium,
|
||||
),
|
||||
),
|
||||
appBar: AppBar(title: const Text('外观设置')),
|
||||
body: ListView(
|
||||
children: [
|
||||
Obx(
|
||||
|
||||
@ -9,14 +9,7 @@ class SettingPage extends StatelessWidget {
|
||||
Widget build(BuildContext context) {
|
||||
final SettingController settingController = Get.put(SettingController());
|
||||
return Scaffold(
|
||||
appBar: AppBar(
|
||||
centerTitle: false,
|
||||
titleSpacing: 0,
|
||||
title: Text(
|
||||
'设置',
|
||||
style: Theme.of(context).textTheme.titleMedium,
|
||||
),
|
||||
),
|
||||
appBar: AppBar(title: const Text('设置')),
|
||||
body: Column(
|
||||
children: [
|
||||
ListTile(
|
||||
|
||||
Reference in New Issue
Block a user