mirror of
https://github.com/JGeek00/adguard-home-manager.git
synced 2025-05-04 12:24:47 +00:00
Added theme modal
This commit is contained in:
parent
91ec08614c
commit
eace1767f0
13 changed files with 495 additions and 13 deletions
|
@ -1,5 +1,4 @@
|
|||
import 'package:flutter/material.dart';
|
||||
import 'package:flutter_gen/gen_l10n/app_localizations.dart';
|
||||
|
||||
class SettingsAppBar extends StatelessWidget with PreferredSizeWidget {
|
||||
const SettingsAppBar({Key? key}) : super(key: key);
|
||||
|
@ -7,7 +6,24 @@ class SettingsAppBar extends StatelessWidget with PreferredSizeWidget {
|
|||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return AppBar(
|
||||
title: Text(AppLocalizations.of(context)!.settings),
|
||||
toolbarHeight: 50,
|
||||
centerTitle: true,
|
||||
title: Row(
|
||||
mainAxisAlignment: MainAxisAlignment.center,
|
||||
children: [
|
||||
Image.asset(
|
||||
'assets/icon/icon1024-white-center.png',
|
||||
width: 60,
|
||||
),
|
||||
const SizedBox(width: 20),
|
||||
const Text(
|
||||
"AdGuard Home Manager",
|
||||
style: TextStyle(
|
||||
fontSize: 20
|
||||
),
|
||||
)
|
||||
],
|
||||
),
|
||||
);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue