Initial commit for complete UI
This commit is contained in:
59
lib/widgets/profile_header.dart
Normal file
59
lib/widgets/profile_header.dart
Normal file
@@ -0,0 +1,59 @@
|
||||
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')),
|
||||
],
|
||||
),
|
||||
],
|
||||
),
|
||||
),
|
||||
],
|
||||
),
|
||||
);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user