finnow/flutter_app/lib/components/title_text.dart

15 lines
314 B
Dart
Raw Permalink Normal View History

import 'package:flutter/material.dart';
class TitleText extends StatelessWidget {
final String text;
const TitleText(this.text, {super.key});
@override
Widget build(BuildContext context) {
return Text(
text,
style: const TextStyle(fontSize: 32, fontWeight: FontWeight.bold),
);
}
}