You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
SmartFit_Mobile/lib/common_widget/container/profile/profile_entete.dart

51 lines
1.2 KiB

import 'package:flutter/material.dart';
import 'package:smartfit_app_mobile/common/colo_extension.dart';
class ProfileEntete extends StatelessWidget {
const ProfileEntete(this.username, {super.key});
final String username;
@override
Widget build(BuildContext context) {
return Row(
children: [
ClipRRect(
borderRadius: BorderRadius.circular(30),
child: Image.asset(
"assets/img/u1.png",
width: 50,
height: 50,
fit: BoxFit.cover,
),
),
const SizedBox(
width: 15,
),
Expanded(
child: Column(
crossAxisAlignment: CrossAxisAlignment.start,
children: [
Text(
username,
style: TextStyle(
color: TColor.black,
fontSize: 14,
fontWeight: FontWeight.w500,
),
),
Text(
"Course à pied",
style: TextStyle(
color: TColor.gray,
fontSize: 12,
),
)
],
),
),
],
);
}
}