mirror of
https://github.com/SyncrowIOT/syncrow-app.git
synced 2025-07-16 01:56:19 +00:00
initialized Dashboard Page
This commit is contained in:
28
lib/features/shared_widgets/text_widgets/body_small.dart
Normal file
28
lib/features/shared_widgets/text_widgets/body_small.dart
Normal file
@ -0,0 +1,28 @@
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:syncrow_app/features/shared_widgets/text_widgets/custom_text_widget.dart';
|
||||
import 'package:syncrow_app/utils/context_extension.dart';
|
||||
|
||||
class BodySmall extends StatelessWidget {
|
||||
const BodySmall({
|
||||
required this.text,
|
||||
super.key,
|
||||
this.style,
|
||||
this.fontColor,
|
||||
this.fontSize,
|
||||
});
|
||||
|
||||
final String text;
|
||||
final TextStyle? style;
|
||||
|
||||
final Color? fontColor;
|
||||
|
||||
final double? fontSize;
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) => CustomText(
|
||||
text,
|
||||
style: style ?? context.bodySmall,
|
||||
fontColor: fontColor,
|
||||
fontSize: fontSize,
|
||||
);
|
||||
}
|
Reference in New Issue
Block a user