You are on page 1of 1

import 'package:flutter/material.

dart';

class MyDrawer extends StatelessWidget {


  @override
  Widget build(BuildContext context) {
    return Drawer(
      child: ListView(
        padding: EdgeInsets.zero,
        children: [
          UserAccountsDrawerHeader(
            accountName: Text("Shifat Ahmed"),
            accountEmail: Text("rabisifat@gmail.com"),
            currentAccountPicture: CircleAvatar(
              backgroundImage: NetworkImage(
                  "https://images.unsplash.com/photo-1632234509732-d72a9113f035?
ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-
1.2.1&auto=format&fit=crop&w=387&q=80"),
            ),
          ),
          ListTile(
            leading: Icon(Icons.email),
            title: Text("rabisifat@gmail.com"),
            subtitle: Text("Personal Account"),
            trailing: Icon(Icons.send),
          ),
          ListTile(
            leading: Icon(Icons.contacts),
            title: Text("01860749579"),
            subtitle: Text("Private Number"),
            trailing: Icon(Icons.call),
          ),
          ListTile(
            leading: Icon(Icons.home),
            title: Text("13/a 1 K.M Das Lane"),
            subtitle: Text("Address"),
            trailing: Icon(Icons.map),
          ),
        ],
      ),
    );
  }
}

You might also like