You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
919 B
Dart
35 lines
919 B
Dart
import 'package:flutter/material.dart';
|
|
import 'package:hexcolor/hexcolor.dart';
|
|
|
|
import '../../../config/size_config.dart';
|
|
import '../../shared/profile_image_widget.dart';
|
|
|
|
/*
|
|
*@author: Elham Rababah
|
|
*@Date:21/4/2020
|
|
*@param:
|
|
*@return:
|
|
*@desc: Profile Header Widget class
|
|
*/
|
|
class ProfileHeaderWidget extends StatelessWidget {
|
|
const ProfileHeaderWidget({
|
|
Key key,
|
|
}) : super(key: key);
|
|
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
return Container(
|
|
height: SizeConfig.heightMultiplier * 30,
|
|
child: ProfileImageWidget(
|
|
url:
|
|
"http://images4.fanpop.com/image/photos/16200000/David-Schwimmer-Ross-Geller-ross-geller-16258927-629-779.jpg",
|
|
name: "Fahad AlSlehm",
|
|
des: "324599",
|
|
height: SizeConfig.heightMultiplier * 17,
|
|
width: SizeConfig.heightMultiplier * 17,
|
|
color: Hexcolor('#58434F')),
|
|
);
|
|
}
|
|
}
|
|
|