60 lines
1.8 KiB
Dart
60 lines
1.8 KiB
Dart
import 'package:flutter/material.dart';
|
|
|
|
class ProfileHeader extends StatelessWidget {
|
|
const ProfileHeader({super.key});
|
|
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
return Container(
|
|
color: Colors.white,
|
|
padding: const EdgeInsets.all(16),
|
|
child: Row(
|
|
children: [
|
|
// Circular Profile Image
|
|
CircleAvatar(
|
|
radius: 40,
|
|
backgroundImage: AssetImage('assets/images/shop_image.jpg'), // Replace with your asset
|
|
),
|
|
const SizedBox(width: 16),
|
|
// Details Column
|
|
Expanded(
|
|
child: Column(
|
|
crossAxisAlignment: CrossAxisAlignment.start,
|
|
children: const [
|
|
Row(
|
|
children: [
|
|
ImageIcon(AssetImage("assets/icon/account_icon.png")),
|
|
SizedBox(width: 8),
|
|
Expanded(
|
|
child: Text(
|
|
'Omkara Car Wash Center',
|
|
style: TextStyle(fontSize: 16, fontWeight: FontWeight.w500),
|
|
),
|
|
),
|
|
],
|
|
),
|
|
SizedBox(height: 8),
|
|
Row(
|
|
children: [
|
|
ImageIcon(AssetImage("assets/icon/contact_icon.png")),
|
|
SizedBox(width: 8),
|
|
Text('+91 9999988888'),
|
|
],
|
|
),
|
|
SizedBox(height: 8),
|
|
Row(
|
|
children: [
|
|
ImageIcon(AssetImage("assets/icon/Message_icon.png")),
|
|
SizedBox(width: 8),
|
|
Expanded(child: Text('loremipsum@gmail.com')),
|
|
],
|
|
),
|
|
],
|
|
),
|
|
),
|
|
],
|
|
),
|
|
);
|
|
}
|
|
}
|