mirror of
https://github.com/twonlyapp/twonly-app.git
synced 2026-01-15 15:28:40 +00:00
18 lines
449 B
Dart
18 lines
449 B
Dart
import 'package:flutter/material.dart';
|
|
|
|
class HeadLineComponent extends StatelessWidget {
|
|
const HeadLineComponent(this.text, {super.key});
|
|
final String text;
|
|
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
return Container(
|
|
alignment: Alignment.centerLeft,
|
|
padding: const EdgeInsets.symmetric(horizontal: 4, vertical: 10),
|
|
child: Text(
|
|
text,
|
|
style: const TextStyle(fontSize: 17),
|
|
),
|
|
);
|
|
}
|
|
}
|