initialized Devices Page

This commit is contained in:
Mohammad Salameh
2024-02-20 16:01:50 +03:00
parent d27063f149
commit cdfb778884
22 changed files with 551 additions and 18 deletions

View File

@ -11,7 +11,8 @@ class CustomText extends StatelessWidget {
this.maxLines,
this.textDirection,
this.fontSize,
this.fontColor});
this.fontColor,
this.fontWeight});
final String text;
final TextStyle? style;
@ -24,14 +25,16 @@ class CustomText extends StatelessWidget {
final double? fontSize;
final Color? fontColor;
final FontWeight? fontWeight;
@override
Widget build(BuildContext context) {
return SelectableText(
text,
style: style!.copyWith(
fontSize: fontSize,
color: fontColor ?? ColorsManager.textPrimaryColor,
),
fontSize: fontSize,
color: fontColor ?? ColorsManager.textPrimaryColor,
fontWeight: fontWeight),
textAlign: textAlign,
onTap: onTap,
minLines: minLines,