mirror of
https://github.com/SyncrowIOT/syncrow-app.git
synced 2025-07-16 10:06:16 +00:00
initialized Dashboard Page
This commit is contained in:
20
lib/features/shared_widgets/text_widgets/display_medium.dart
Normal file
20
lib/features/shared_widgets/text_widgets/display_medium.dart
Normal file
@ -0,0 +1,20 @@
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
import 'custom_text_widget.dart';
|
||||
|
||||
class DisplayMedium extends StatelessWidget {
|
||||
const DisplayMedium({
|
||||
required this.text,
|
||||
super.key,
|
||||
this.style,
|
||||
});
|
||||
|
||||
final String text;
|
||||
final TextStyle? style;
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) => CustomText(
|
||||
text,
|
||||
style: style ?? Theme.of(context).textTheme.displayMedium,
|
||||
);
|
||||
}
|
Reference in New Issue
Block a user