mirror of
https://github.com/SyncrowIOT/syncrow-app.git
synced 2025-07-15 17:47:28 +00:00
Implemented firebase and onesignal
This commit is contained in:
@ -4,16 +4,16 @@ 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,
|
||||
});
|
||||
const BodyLarge(
|
||||
{required this.text,
|
||||
super.key,
|
||||
this.textAlign,
|
||||
this.style,
|
||||
this.height,
|
||||
this.fontWeight,
|
||||
this.fontColor,
|
||||
this.fontSize,
|
||||
this.textOverflow});
|
||||
|
||||
final String text;
|
||||
final TextAlign? textAlign;
|
||||
@ -28,16 +28,18 @@ class BodyLarge extends StatelessWidget {
|
||||
|
||||
final double? fontSize;
|
||||
|
||||
final TextOverflow? textOverflow;
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) => CustomText(
|
||||
text,
|
||||
textAlign: textAlign,
|
||||
style: style ??
|
||||
context.bodyLarge.copyWith(
|
||||
height: height,
|
||||
fontWeight: fontWeight,
|
||||
color: fontColor,
|
||||
fontSize: fontSize,
|
||||
),
|
||||
height: height,
|
||||
fontWeight: fontWeight,
|
||||
color: fontColor,
|
||||
fontSize: fontSize,
|
||||
overflow: textOverflow),
|
||||
);
|
||||
}
|
||||
|
Reference in New Issue
Block a user