add page for aur search
install aur package by button click
This commit is contained in:
		@@ -1,3 +1,4 @@
 | 
			
		||||
import 'package:aurcache/screens/aur_screen.dart';
 | 
			
		||||
import 'package:aurcache/screens/build_screen.dart';
 | 
			
		||||
import 'package:aurcache/screens/builds_screen.dart';
 | 
			
		||||
import 'package:aurcache/screens/dashboard_screen.dart';
 | 
			
		||||
@@ -40,6 +41,10 @@ final appRouter = GoRouter(
 | 
			
		||||
          path: '/packages',
 | 
			
		||||
          builder: (context, state) => const PackagesScreen(),
 | 
			
		||||
        ),
 | 
			
		||||
        GoRoute(
 | 
			
		||||
          path: '/aur',
 | 
			
		||||
          builder: (context, state) => AurScreen(),
 | 
			
		||||
        ),
 | 
			
		||||
        GoRoute(
 | 
			
		||||
          path: '/package/:id',
 | 
			
		||||
          builder: (context, state) {
 | 
			
		||||
 
 | 
			
		||||
@@ -43,12 +43,16 @@ class SideMenu extends StatelessWidget {
 | 
			
		||||
            DrawerListTile(
 | 
			
		||||
              title: "Builds",
 | 
			
		||||
              svgSrc: "assets/icons/menu_tran.svg",
 | 
			
		||||
              press: () {},
 | 
			
		||||
              press: () {
 | 
			
		||||
                context.go("/builds");
 | 
			
		||||
              },
 | 
			
		||||
            ),
 | 
			
		||||
            DrawerListTile(
 | 
			
		||||
              title: "AUR",
 | 
			
		||||
              svgSrc: "assets/icons/menu_task.svg",
 | 
			
		||||
              press: () {},
 | 
			
		||||
              press: () {
 | 
			
		||||
                context.go("/aur");
 | 
			
		||||
              },
 | 
			
		||||
            ),
 | 
			
		||||
            DrawerListTile(
 | 
			
		||||
              title: "Settings",
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user