feat: profile page
This commit is contained in:
@@ -5,17 +5,20 @@ class TextTitle extends StatelessWidget {
|
||||
final String title;
|
||||
final Color? color;
|
||||
final double? fontSize;
|
||||
final TextAlign? textAlign;
|
||||
const TextTitle({
|
||||
Key? key,
|
||||
required this.title,
|
||||
this.color,
|
||||
this.fontSize,
|
||||
this.textAlign,
|
||||
}) : super(key: key);
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return Text(
|
||||
title,
|
||||
textAlign: textAlign,
|
||||
style: TextStyle(
|
||||
fontSize: fontSize ?? 20,
|
||||
fontWeight: FontWeight.w700,
|
||||
|
||||
Reference in New Issue
Block a user