mirror of
https://github.com/SyncrowIOT/syncrow-app.git
synced 2025-07-15 09:45:22 +00:00
21 lines
412 B
Dart
21 lines
412 B
Dart
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,
|
|
);
|
|
}
|