Implemented firebase and onesignal

This commit is contained in:
Abdullah Alassaf
2024-05-23 17:09:10 +03:00
parent f7db91f212
commit cda41ecf74
17 changed files with 312 additions and 64 deletions

View File

@ -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),
);
}