mirror of
https://github.com/SyncrowIOT/syncrow-app.git
synced 2025-07-15 09:45:22 +00:00
initialized Routine Page
This commit is contained in:
@ -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,
|
||||
|
Reference in New Issue
Block a user