import 'package:flutter/material.dart'; import 'package:syncrow_app/utils/context_extension.dart'; import 'custom_text_widget.dart'; class BodyLarge extends StatelessWidget { const BodyLarge({ required this.text, super.key, this.textAlign, this.style, this.height, this.fontWeight, this.fontColor, this.fontSize, }); final String text; final TextAlign? textAlign; final TextStyle? style; final double? height; final FontWeight? fontWeight; final Color? fontColor; final double? fontSize; @override Widget build(BuildContext context) => CustomText( text, textAlign: textAlign, style: style ?? context.bodyLarge.copyWith( height: height, fontWeight: fontWeight, color: fontColor, fontSize: fontSize, ), ); }