opt: appbar theme

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2024-11-21 17:08:52 +08:00
parent 37ddebca50
commit 5b2a4fa681
46 changed files with 51 additions and 248 deletions

View File

@@ -26,13 +26,8 @@ class _WebviewPageState extends State<WebviewPage> {
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
centerTitle: false,
titleSpacing: 0,
title: Obx(
() => Text(
_webviewController.pageTitle.value,
style: Theme.of(context).textTheme.titleMedium,
),
() => Text(_webviewController.pageTitle.value),
),
actions: [
const SizedBox(width: 4),

View File

@@ -38,7 +38,6 @@ class _WebviewPageNewState extends State<WebviewPageNew> {
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
titleSpacing: 0,
title: StreamBuilder(
initialData: null,
stream: _titleStream.stream,