add titles to aur and builds screens

add storage icon
This commit is contained in:
lukas-heiligenbrunner 2024-02-24 23:48:16 +01:00
parent 4ffb4b2855
commit 0c81399ea1
3 changed files with 14 additions and 14 deletions

View File

@ -6,8 +6,8 @@ import '../../constants/color_constants.dart';
class SideMenu extends StatelessWidget {
const SideMenu({
Key? key,
}) : super(key: key);
super.key,
});
@override
Widget build(BuildContext context) {
@ -20,13 +20,10 @@ class SideMenu extends StatelessWidget {
child: Column(
mainAxisAlignment: MainAxisAlignment.center,
children: [
// SizedBox(
// height: defaultPadding * 3,
// ),
// Image.asset(
// "assets/logo/logo_icon.png",
// scale: 5,
// ),
SizedBox(
height: defaultPadding,
),
Icon(Icons.storage_sharp, size: 60, color: Colors.white54),
SizedBox(
height: defaultPadding,
),
@ -68,12 +65,11 @@ class SideMenu extends StatelessWidget {
class DrawerListTile extends StatelessWidget {
const DrawerListTile({
Key? key,
// For selecting those three line once press "Command+D"
super.key,
required this.title,
required this.svgSrc,
required this.press,
}) : super(key: key);
});
final String title, svgSrc;
final VoidCallback press;

View File

@ -36,7 +36,9 @@ class _AurScreenState extends State<AurScreen> {
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(),
appBar: AppBar(
title: const Text("AUR"),
),
body: MultiProvider(
providers: [
ChangeNotifierProvider(create: (_) => PackagesProvider()),

View File

@ -12,7 +12,9 @@ class BuildsScreen extends StatelessWidget {
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(),
appBar: AppBar(
title: const Text("All Builds"),
),
body: MultiProvider(
providers: [
ChangeNotifierProvider<BuildsProvider>(