import 'package:flutter/material.dart'; class DrawerMeddApp extends StatelessWidget { const DrawerMeddApp({Key? key}) : super(key: key); @override Widget build(BuildContext context) { return Drawer( // backgroundColor: Color.fromARGB(255, 76, 154, 231), width: 200, child: Container( decoration: BoxDecoration( color: Colors.blue, gradient: LinearGradient( colors: [ Colors.blue, Colors.blue.withOpacity(0.0), ], stops: [0.0, 1.0], ), ), child: Column( children: [ SizedBox(height: 50,), ListTile( leading: Icon(Icons.home), title: Text('Home',style: TextStyle(fontWeight: FontWeight.w500),), onTap: () => Navigator.pushNamed(context, '/') , ), ListTile( leading: Icon(Icons.people), title: Text('About Us',style: TextStyle(fontWeight: FontWeight.w500),), onTap: () =>Navigator.pushNamed(context, '/about') , ), ListTile( leading: Icon(Icons.settings_applications), title: Text('Our Solution',style: TextStyle(fontWeight: FontWeight.w500),), onTap: () =>Navigator.pushNamed(context, '/solutions') , ), // ListTile( // leading: Icon(Icons.event_note), // title: Text('Career'), // onTap: () => Navigator.pushNamed(context, '/career') , // ), ListTile( leading: Icon(Icons.contact_phone), title: Text('Contact Us',style: TextStyle(fontWeight: FontWeight.w500),), onTap: () => Navigator.pushNamed(context, '/contact') , ), ], ), ), ); } }