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, }); final String text; final TextAlign? textAlign; final TextStyle? style; final double? height; final FontWeight? fontWeight; @override Widget build(BuildContext context) => CustomText( text, style: style ?? context.bodyLarge.copyWith(height: height ?? 1.5), textAlign: textAlign, fontWeight: fontWeight, ); }