add titles to aur and builds screens
add storage icon
This commit is contained in:
parent
4ffb4b2855
commit
0c81399ea1
@ -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;
|
||||
|
@ -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()),
|
||||
|
@ -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>(
|
||||
|
Loading…
Reference in New Issue
Block a user