initialized Routine Page

This commit is contained in:
Mohammad Salameh
2024-02-21 13:47:08 +03:00
parent cdfb778884
commit d5196fda45
33 changed files with 569 additions and 236 deletions

View File

@ -10,6 +10,9 @@ class BodyMedium extends StatelessWidget {
this.maxLines,
this.overflow,
this.textAlign,
this.fontSize,
this.fontColor,
this.fontWeight,
});
final String text;
@ -18,11 +21,17 @@ class BodyMedium extends StatelessWidget {
final TextOverflow? overflow;
final TextAlign? textAlign;
final double? fontSize;
final Color? fontColor;
final FontWeight? fontWeight;
@override
Widget build(BuildContext context) => CustomText(
text,
style: style ?? context.bodyMedium,
style: style ??
context.bodyMedium.copyWith(
fontSize: fontSize, color: fontColor, fontWeight: fontWeight),
// softWrap: true,
maxLines: maxLines,
// overflow: overflow,